aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2004-07-11 08:30:23 +0000
committerGunter Knauf <gk@gknw.de>2004-07-11 08:30:23 +0000
commit8c975657e7316263acc493e63c86a4f4970eb025 (patch)
tree4d96b040e31563925342cfa76f412b5f338deee0
parent03cb3b9db10831ff76133df15722cc9c8878ae99 (diff)
added ifdef for NetWare to ares.h.
-rw-r--r--ares/Makefile.netware1
-rw-r--r--ares/ares.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/ares/Makefile.netware b/ares/Makefile.netware
index e530f0c05..f9a61d55c 100644
--- a/ares/Makefile.netware
+++ b/ares/Makefile.netware
@@ -67,7 +67,6 @@ MPKXDC = mkxdc
# Global flags for all compilers
CFLAGS = $(OPT) -D$(DB) -DNETWARE -DHAVE_CONFIG_H -nostdinc
-CFLAGS += -D_AIX
ifeq ($(CC),mwccnlm)
LD = mwldnlm
diff --git a/ares/ares.h b/ares/ares.h
index 85bfe2315..af1a52a9e 100644
--- a/ares/ares.h
+++ b/ares/ares.h
@@ -20,7 +20,7 @@
#include <sys/types.h>
-#ifdef _AIX
+#if defined(_AIX) || defined(NETWARE)
/* HP-UX systems version 9, 10 and 11 lack sys/select.h and so does oldish
libc5-based Linux systems. Only include it on system that are known to
require it! */