<sys/types.h> is required for <dirent.h>. Improve Sun alloca.

This commit is contained in:
John Gilmore 1991-11-22 17:07:42 +00:00
parent de0da6cee0
commit 3f73352f90
5 changed files with 11 additions and 4 deletions

View 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.

View 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;

View File

@ -1,4 +1,4 @@
/* System-dependent stuff, for ``normal'' systems */
/* System-dependent stuff, for Sony NEwS systems */
#ifdef __GNUC__
#define alloca __builtin_alloca

View File

@ -5,10 +5,11 @@
#else
#if defined (sparc) && defined (sun)
#include <alloca.h>
#else
#endif
extern char *alloca ();
#endif
#endif
#include <sys/types.h> /* Needed by dirent.h */
#if defined (USG) && defined (TIOCGWINSZ)
#include <sys/stream.h>

View File

@ -1,4 +1,4 @@
/* System-dependent stuff, for ``normal'' systems */
/* System-dependent stuff, for Sony NEwS systems */
#ifdef __GNUC__
#define alloca __builtin_alloca