summary refs log tree commit diff stats
path: root/plugins/dns
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-11-04 04:22:22 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-11-04 04:22:22 +0100
commit4ec499c2417819a174ebd68529da2a21e9c5c72c (patch)
tree1b305cbf9a80517641c1049d5d45d018d0384784 /plugins/dns
parent0e9658f2aba9deddef640da10ca238dd908fb2ac (diff)
Eliminate warnings due to missing includes
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"