summaryrefslogtreecommitdiff
path: root/sql/hostname.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/hostname.cc')
-rw-r--r--sql/hostname.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/hostname.cc b/sql/hostname.cc
index be035e52ac1..ed56e199c3c 100644
--- a/sql/hostname.cc
+++ b/sql/hostname.cc
@@ -27,7 +27,9 @@
extern "C" { // Because of SCO 3.2V4.2
#endif
#if !defined( __WIN__) && !defined(OS2)
+#if !defined(__NETWARE__)
#include <sys/resource.h>
+#endif /* __NETWARE__ */
#ifdef HAVE_SYS_UN_H
#include <sys/un.h>
#endif