Use attribute __gnu_printf__ with our estream-printf functions.
[gnupg.git] / common / w32-reg.c
index 428705c..2507177 100644 (file)
@@ -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"