From bba1502411079c5d14cbdf7daaf8b49902b54ddf Mon Sep 17 00:00:00 2001 From: "Heiko Schlittermann (HS12-RIPE)" Date: Wed, 2 Dec 2015 19:44:10 +0100 Subject: Testsuite: fakens: check for sys/socket.h FreeBSD seems to need it for AF_INET --- test/src/fakens.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/src') diff --git a/test/src/fakens.c b/test/src/fakens.c index 63cc59da2..e4584c4df 100644 --- a/test/src/fakens.c +++ b/test/src/fakens.c @@ -80,6 +80,9 @@ a number of seconds (followed by one space). #include #include #include +#ifdef HAVE_SYS_SOCKET_H +#include +#endif #define FALSE 0 #define TRUE 1 -- cgit v1.2.3