summary refs log tree commit diff stats
path: root/src/common/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/network.c')
-rw-r--r--src/common/network.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/common/network.c b/src/common/network.c
index eba24b05..f8722433 100644
--- a/src/common/network.c
+++ b/src/common/network.c
@@ -23,12 +23,13 @@
 #include <stdio.h>
 #include <glib.h>
 
-#ifndef WIN32
+#ifdef WIN32
+#include "../../config-win32.h"			/* grab USE_IPV6 and LOOKUPD defines */
+#else
 #include <unistd.h>
+#include "../../config.h"
 #endif
 
-#include "../../config.h"				  /* grab USE_IPV6 and LOOKUPD defines */
-
 #define WANTSOCKET
 #define WANTARPA
 #define WANTDNS