Commit 7a2cf780d13106cfd90ea33431b6444880c05123

Carlos Martín Nieto 2013-01-20T01:57:32

Fix compilation on OpenBSD

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/netops.c b/src/netops.c
index 401e283..fe95f2c 100644
--- a/src/netops.c
+++ b/src/netops.c
@@ -10,6 +10,7 @@
 #	include <sys/select.h>
 #	include <sys/time.h>
 #	include <netdb.h>
+#	include <netinet/in.h>
 #       include <arpa/inet.h>
 #else
 #	include <ws2tcpip.h>