Commit 6910ecb03689e4bd7c8f76bdba23ca425df69ddb

Vicent Martí 2013-08-24T02:43:38

Merge pull request #1807 from frasertweedale/fix/freebsd fix tests on FreeBSD

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/tests-clar/core/posix.c b/tests-clar/core/posix.c
index 0d9443f..890e25d 100644
--- a/tests-clar/core/posix.c
+++ b/tests-clar/core/posix.c
@@ -1,5 +1,7 @@
 #ifndef _WIN32
 # include <arpa/inet.h>
+# include <sys/socket.h>
+# include <netinet/in.h>
 #else
 # include <ws2tcpip.h>
 # ifdef _MSC_VER