aboutsummaryrefslogtreecommitdiffstats
path: root/g10/photoid.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/photoid.c')
-rw-r--r--g10/photoid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/photoid.c b/g10/photoid.c
index 132adca17..829d36c9e 100644
--- a/g10/photoid.c
+++ b/g10/photoid.c
@@ -22,6 +22,9 @@
#include <stdio.h>
#include <string.h>
#ifdef _WIN32
+# ifdef HAVE_WINSOCK2_H
+# include <winsock2.h>
+# endif
# include <windows.h>
# ifndef VER_PLATFORM_WIN32_WINDOWS
# define VER_PLATFORM_WIN32_WINDOWS 1