aboutsummaryrefslogtreecommitdiff
path: root/src/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat.h')
-rw-r--r--src/compat.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/compat.h b/src/compat.h
index db340445b2..804a8141b5 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -21,10 +21,8 @@
#include <arpa/inet.h>
#include <netdb.h>
#include <net/if.h>
-#include <ifaddrs.h>
-#endif
-#ifdef BSD
#include <netinet/in.h>
+#include <ifaddrs.h>
#endif
typedef u_int SOCKET;