diff options
Diffstat (limited to 'common/w32-reg.c')
-rw-r--r-- | common/w32-reg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/w32-reg.c b/common/w32-reg.c index 428705ce9..250717791 100644 --- a/common/w32-reg.c +++ b/common/w32-reg.c @@ -36,6 +36,9 @@ #include <stdlib.h> #include <string.h> #include <stdarg.h> +#ifdef HAVE_WINSOCK2_H +# include <winsock2.h> +#endif #include <windows.h> #include "libjnlib-config.h" |