about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wrapped32/wrappedlibresolv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wrapped32/wrappedlibresolv.c b/src/wrapped32/wrappedlibresolv.c
index 3baeae3c..b34abb32 100644
--- a/src/wrapped32/wrappedlibresolv.c
+++ b/src/wrapped32/wrappedlibresolv.c
@@ -4,7 +4,6 @@
 #define _GNU_SOURCE         /* See feature_test_macros(7) */
 #include <dlfcn.h>
 #include <netdb.h>
-#include <resolv.h>
 
 #include "wrappedlibs.h"
 
@@ -28,6 +27,8 @@ static const char* libresolvName = "libresolv.so.2";
 
 #include "wrappercallback32.h"
 
+#include <resolv.h>
+
 void* convert_res_state_to_32(void* d, void* s);
 void* convert_res_state_to_64(void* d, void* s);