aboutsummaryrefslogtreecommitdiffstats
path: root/agent/protect.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--agent/protect.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/agent/protect.c b/agent/protect.c
index 749867cc1..3a0021871 100644
--- a/agent/protect.c
+++ b/agent/protect.c
@@ -29,6 +29,9 @@
#include <unistd.h>
#include <sys/stat.h>
#ifdef HAVE_W32_SYSTEM
+# ifdef HAVE_WINSOCK2_H
+# include <winsock2.h>
+# endif
# include <windows.h>
#else
# include <sys/times.h>