diff options
Diffstat (limited to 'test/src')
-rw-r--r-- | test/src/fakens.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <sys/time.h> #include <dirent.h> #include <unistd.h> +#ifdef HAVE_SYS_SOCKET_H +#include <sys/socket.h> +#endif #define FALSE 0 #define TRUE 1 |