diff options
Diffstat (limited to 'common/init.c')
-rw-r--r-- | common/init.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/common/init.c b/common/init.c index 8a0b6a8e7..35e623fc2 100644 --- a/common/init.c +++ b/common/init.c @@ -35,10 +35,13 @@ #endif #ifdef HAVE_W32_SYSTEM -#include <windows.h> +# ifdef HAVE_WINSOCK2_H +# include <winsock2.h> +# endif +# include <windows.h> #endif #ifdef HAVE_NPTH -#include <npth.h> +# include <npth.h> #endif #ifdef HAVE_W32CE_SYSTEM # include <assuan.h> /* For _assuan_w32ce_finish_pipe. */ |