<sys/types.h> is required for <dirent.h>. Improve Sun alloca.
authorJohn Gilmore <gnu@cygnus>
Fri, 22 Nov 1991 17:07:42 +0000 (17:07 +0000)
committerJohn Gilmore <gnu@cygnus>
Fri, 22 Nov 1991 17:07:42 +0000 (17:07 +0000)
readline/ChangeLog
readline/sysdep-aix.h
readline/sysdep-newsos.h
readline/sysdep-norm.h
readline/sysdep-oldbsd.h

index 5191241f1a1c36ef37fb5cf9c6fb8416d9e41216..4cb89fa4b82cab555843f3adb65a5b52cb22f45d 100644 (file)
@@ -1,3 +1,8 @@
+Fri Nov 22 09:02:32 1991  John Gilmore  (gnu at cygnus.com)
+
+       * sysdep-norm.h, sysdep-aix.h:  Add <sys/types.h>, which POSIX
+       requires to make <dirent.h> work.  Improve Sun alloca decl.
+
 Thu Nov 21 18:48:08 1991  John Gilmore  (gnu at cygnus.com)
 
        * Makefile.in:  Clean up ../glob/tilde.c -> tilde.o path.
index 4487c8ccdc9d7773046ecc31c4548334e8ba0a5f..40c983a19c7485d166b043cee28bcb9caa2d2968 100644 (file)
@@ -1,5 +1,6 @@
 /* System-dependent stuff for AIX 3.1 on RS/6000 */
 
 #pragma alloca
+#include <sys/types.h>
 #include <dirent.h>
 typedef struct dirent dirent;
index 96078a23c10045632ad426946d9c45c0e1a0d20f..dbed762459305614a9fa4784fd676a275430a351 100755 (executable)
@@ -1,4 +1,4 @@
-/* System-dependent stuff, for ``normal'' systems */
+/* System-dependent stuff, for Sony NEwS systems */
 
 #ifdef __GNUC__
 #define alloca __builtin_alloca
index d091c4a3c3806cdf78c5cf9eb5fcfe8c90559e4e..098665937c4310fb49468a463361deddcdeedc8c 100644 (file)
@@ -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)
index 96078a23c10045632ad426946d9c45c0e1a0d20f..dbed762459305614a9fa4784fd676a275430a351 100755 (executable)
@@ -1,4 +1,4 @@
-/* System-dependent stuff, for ``normal'' systems */
+/* System-dependent stuff, for Sony NEwS systems */
 
 #ifdef __GNUC__
 #define alloca __builtin_alloca
This page took 0.025855 seconds and 4 git commands to generate.