summaryrefslogtreecommitdiffstats
path: root/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h3
1 files changed, 3 insertions, 0 deletions
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 */