aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-06-27 10:44:31 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-06-27 10:44:31 +0200
commit0dd33d8ed1e736eb8ac046f4b027ed6b445b60f4 (patch)
treecfd42e8ed2b568ea7ece94c2f1dee629c7353c3e
parent0db12d7f754952563ae1b7070a8debb0df95d51f (diff)
downloadlibssh-0dd33d8ed1e736eb8ac046f4b027ed6b445b60f4.tar.gz
libssh-0dd33d8ed1e736eb8ac046f4b027ed6b445b60f4.tar.xz
libssh-0dd33d8ed1e736eb8ac046f4b027ed6b445b60f4.zip
torture: Don't include sys/socket.h on Windows
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--tests/torture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/torture.c b/tests/torture.c
index b6b14b49..a2d3c738 100644
--- a/tests/torture.c
+++ b/tests/torture.c
@@ -27,13 +27,13 @@
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/socket.h>
#include <fcntl.h>
#include <signal.h>
#ifndef _WIN32
# include <dirent.h>
# include <errno.h>
+# include <sys/socket.h>
#endif
#ifdef HAVE_UNISTD_H