blob: dc79cc8f36b4fb6794c7bdbfe505cca6ae1506fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- include/libnet.h.in.orig 2012-03-06 00:45:46 UTC
+++ include/libnet.h.in
@@ -81,6 +81,9 @@ extern "C" {
#if !defined(__WIN32__)
# include <sys/socket.h>
# include <net/if.h>
+# if defined (__FreeBSD__) || defined (__DragonFly__)
+# include <netinet/in.h>
+# endif
#else /* __WIN32__ */
# if (__CYGWIN__)
# include <sys/socket.h>
|