aboutsummaryrefslogtreecommitdiffstats
path: root/g10/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/exec.c')
-rw-r--r--g10/exec.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/g10/exec.c b/g10/exec.c
index 0caa43ba4..b0ff2eafe 100644
--- a/g10/exec.c
+++ b/g10/exec.c
@@ -33,7 +33,10 @@
#include <sys/wait.h>
#endif
#ifdef HAVE_DOSISH_SYSTEM
-#include <windows.h>
+# ifdef HAVE_WINSOCK2_H
+# include <winsock2.h>
+# endif
+# include <windows.h>
#endif
#include <fcntl.h>
#include <unistd.h>