aboutsummaryrefslogtreecommitdiff
path: root/readline/sysdep-norm.h
diff options
context:
space:
mode:
Diffstat (limited to 'readline/sysdep-norm.h')
-rw-r--r--readline/sysdep-norm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/readline/sysdep-norm.h b/readline/sysdep-norm.h
index d091c4a..0986659 100644
--- a/readline/sysdep-norm.h
+++ b/readline/sysdep-norm.h
@@ -5,11 +5,12 @@
#else
#if defined (sparc) && defined (sun)
#include <alloca.h>
-#else
-extern char *alloca ();
#endif
+extern char *alloca ();
#endif
+#include <sys/types.h> /* Needed by dirent.h */
+
#if defined (USG) && defined (TIOCGWINSZ)
#include <sys/stream.h>
#if defined (USGr4) || defined (USGr3)