From 8b571fbbb1b36f94a6b4279fb52a9e956a86040b Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Wed, 10 Aug 2005 17:03:53 +0000 Subject: [PATCH] make ares compile again for NetWare. --- ares/ares_private.h | 4 ++++ ares/ares_process.c | 3 +++ 2 files changed, 7 insertions(+) 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 +#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 #endif +#ifdef NETWARE +#include +#endif #endif #include