summaryrefslogtreecommitdiff
path: root/devel/bacnet-stack/files/patch-ports_bsd_bip6.c
blob: dc7e62205a6c6fd30e009535b36ec4134bbf5a86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ports/bsd/bip6.c.orig	2025-06-28 19:56:23 UTC
+++ ports/bsd/bip6.c
@@ -22,8 +22,8 @@
 #endif
 #include "bacport.h"
 
-#if defined(__APPLE__) || defined(__darwin__)
-/* OSX seems not to define these. */
+#if defined(__APPLE__) || defined(__darwin__) || defined(__FreeBSD__)
+/* FreeBSD 13.x and OSX seems not to define these. */
 #ifndef s6_addr16
 #define s6_addr16 __u6_addr.__u6_addr16
 #endif