aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dnsdist/files/patch-iputils.hh
blob: 5439389ca10f8270ce44cdf6d7992fd6bd649160 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- iputils.hh.orig 2016-02-05 09:35:08 UTC
+++ iputils.hh
@@ -79,6 +79,11 @@
 
 #endif
 
+// for FreeBSD
+#ifdef __FreeBSD__
+#include <sys/endian.h>
+#endif
+
 union ComboAddress {
   struct sockaddr_in sin4;
   struct sockaddr_in6 sin6;