summaryrefslogtreecommitdiff
path: root/tests/pskself.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pskself.c')
-rw-r--r--tests/pskself.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pskself.c b/tests/pskself.c
index 09001fff4a..b04bd19d6f 100644
--- a/tests/pskself.c
+++ b/tests/pskself.c
@@ -30,10 +30,12 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
+#if !defined(_WIN32)
#include <sys/socket.h>
#include <sys/wait.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+#endif
#include <unistd.h>
#include <gnutls/gnutls.h>