aboutsummaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/misc.c')
-rw-r--r--g10/misc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/misc.c b/g10/misc.c
index 9c28e5b46..ba83b1910 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -41,6 +41,9 @@
#ifdef HAVE_W32_SYSTEM
#include <time.h>
#include <process.h>
+#ifdef HAVE_WINSOCK2_H
+# include <winsock2.h>
+#endif
#include <windows.h>
#include <shlobj.h>
#ifndef CSIDL_APPDATA