<sys/types.h> is required for <dirent.h>. Improve Sun alloca.
This commit is contained in:
parent
de0da6cee0
commit
3f73352f90
@ -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.
|
||||
|
@ -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;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* System-dependent stuff, for ``normal'' systems */
|
||||
/* System-dependent stuff, for Sony NEwS systems */
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define alloca __builtin_alloca
|
||||
|
@ -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>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* System-dependent stuff, for ``normal'' systems */
|
||||
/* System-dependent stuff, for Sony NEwS systems */
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define alloca __builtin_alloca
|
||||
|
Loading…
Reference in New Issue
Block a user