blob: c17a11011c3da4be51325728f20d37997ba63a8c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- include/libnet.h.in.orig 2019-10-06 06:18:52 UTC
+++ include/libnet.h.in
@@ -75,6 +75,9 @@ extern "C" {
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <net/if.h>
+#if defined (__FreeBSD__) || defined (__DragonFly__)
+#include <netinet/in.h>
+#endif
#include <arpa/inet.h>
#include <sys/time.h>
#include <netdb.h>
|