- (djm) NeXT patch from Ben Lindstrom <mouring@pconline.com>
diff --git a/defines.h b/defines.h
index cf2a342..b340459 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 */