make ares compile again for NetWare.
authorGunter Knauf <gk@gknw.de>
Wed, 10 Aug 2005 17:03:53 +0000 (17:03 +0000)
committerGunter Knauf <gk@gknw.de>
Wed, 10 Aug 2005 17:03:53 +0000 (17:03 +0000)
ares_private.h
ares_process.c

index 1a8a2aa..83b77d2 100644 (file)
 #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
index c050308..eb4e054 100644 (file)
@@ -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>