aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2005-08-10 17:03:53 +0000
committerGunter Knauf <gk@gknw.de>2005-08-10 17:03:53 +0000
commit8b571fbbb1b36f94a6b4279fb52a9e956a86040b (patch)
tree5b0c5f922889e0106887b03e5480e0fda6c6eec9
parentf3fcd409d5ee1c42c218c83d833509e8e4e46a2b (diff)
make ares compile again for NetWare.
-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>