<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)
|
Thu Nov 21 18:48:08 1991 John Gilmore (gnu at cygnus.com)
|
||||||
|
|
||||||
* Makefile.in: Clean up ../glob/tilde.c -> tilde.o path.
|
* Makefile.in: Clean up ../glob/tilde.c -> tilde.o path.
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/* System-dependent stuff for AIX 3.1 on RS/6000 */
|
/* System-dependent stuff for AIX 3.1 on RS/6000 */
|
||||||
|
|
||||||
#pragma alloca
|
#pragma alloca
|
||||||
|
#include <sys/types.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
typedef struct dirent dirent;
|
typedef struct dirent dirent;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* System-dependent stuff, for ``normal'' systems */
|
/* System-dependent stuff, for Sony NEwS systems */
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define alloca __builtin_alloca
|
#define alloca __builtin_alloca
|
||||||
|
@ -5,10 +5,11 @@
|
|||||||
#else
|
#else
|
||||||
#if defined (sparc) && defined (sun)
|
#if defined (sparc) && defined (sun)
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
#else
|
#endif
|
||||||
extern char *alloca ();
|
extern char *alloca ();
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
#include <sys/types.h> /* Needed by dirent.h */
|
||||||
|
|
||||||
#if defined (USG) && defined (TIOCGWINSZ)
|
#if defined (USG) && defined (TIOCGWINSZ)
|
||||||
#include <sys/stream.h>
|
#include <sys/stream.h>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* System-dependent stuff, for ``normal'' systems */
|
/* System-dependent stuff, for Sony NEwS systems */
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define alloca __builtin_alloca
|
#define alloca __builtin_alloca
|
||||||
|
Loading…
Reference in New Issue
Block a user