summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--defines.h3
-rw-r--r--next-posix.h1
3 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f0640e55..a51215d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
- (djm) Seperate tests for int64_t and u_int64_t types
- (djm) Tweak password expiry checking at suggestion of Kevin Steves
<stevesk@sweden.hp.com>
+ - (djm) NeXT patch from Ben Lindstrom <mouring@pconline.com>
20000920
- (djm) Fix bad path substitution. Report from Andrew Miner
diff --git a/defines.h b/defines.h
index cf2a3429..b3404596 100644
--- a/defines.h
+++ b/defines.h
@@ -34,6 +34,9 @@
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h> /* For S_* constants and macros */
#endif
+#ifdef HAVE_NEXT
+# include <libc.h>
+#endif
#include <unistd.h> /* For STDIN_FILENO, etc */
diff --git a/next-posix.h b/next-posix.h
index 06149d5b..077b132e 100644
--- a/next-posix.h
+++ b/next-posix.h
@@ -7,7 +7,6 @@
#ifdef HAVE_NEXT
-#include <libc.h>
#include <sys/dir.h>
/* readdir() returns struct direct (BSD) not struct dirent (POSIX) */