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