forked from Lainports/opnsense-ports
12 lines
341 B
C
12 lines
341 B
C
--- 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>
|