aboutsummaryrefslogtreecommitdiffstats
path: root/common/estream.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/estream.c')
-rw-r--r--common/estream.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/estream.c b/common/estream.c
index 9c15100f0..be791a802 100644
--- a/common/estream.c
+++ b/common/estream.c
@@ -79,6 +79,9 @@
#include <stddef.h>
#include <assert.h>
#ifdef HAVE_W32_SYSTEM
+# ifdef HAVE_WINSOCK2_H
+# include <winsock2.h>
+# endif
# include <windows.h>
#endif
#ifdef HAVE_W32CE_SYSTEM