aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares/ares_private.h4
-rw-r--r--ares/ares_process.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/ares/ares_private.h b/ares/ares_private.h
index 1a8a2aae5..83b77d2a4 100644
--- a/ares/ares_private.h
+++ b/ares/ares_private.h
@@ -33,6 +33,10 @@
#define writev(s,v,c) writev_s(s,v,c)
#endif
+#ifdef NETWARE
+#include <time.h>
+#endif
+
#define DEFAULT_TIMEOUT 5
#define DEFAULT_TRIES 4
#ifndef INADDR_NONE
diff --git a/ares/ares_process.c b/ares/ares_process.c
index c050308f0..eb4e0542d 100644
--- a/ares/ares_process.c
+++ b/ares/ares_process.c
@@ -36,6 +36,9 @@
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
+#ifdef NETWARE
+#include <sys/filio.h>
+#endif
#endif
#include <string.h>