summary refs log tree commit diff stats
path: root/plugins/dns
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dns')
-rw-r--r--plugins/dns/dns.c1
-rw-r--r--plugins/dns/thread.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/dns/dns.c b/plugins/dns/dns.c
index cd64c4b5..9e359805 100644
--- a/plugins/dns/dns.c
+++ b/plugins/dns/dns.c
@@ -37,6 +37,7 @@
 #else
 #include <winsock2.h>
 #endif
+#include <io.h>
 #else
 #include <unistd.h>
 #include <netdb.h>
diff --git a/plugins/dns/thread.c b/plugins/dns/thread.c
index 02b17cfb..d0347130 100644
--- a/plugins/dns/thread.c
+++ b/plugins/dns/thread.c
@@ -1,3 +1,4 @@
+#include <io.h>
 #include <fcntl.h>
 #include "thread.h"