* sysdep-norm.h (alloca): Protect against previous definition as
[deliverable/binutils-gdb.git] / readline / sysdep-norm.h
1 /* System-dependent stuff, for ``normal'' systems */
2
3 #ifdef __GNUC__
4 #define alloca __builtin_alloca
5 #else
6 #if defined (sparc) && defined (sun)
7 #include <alloca.h>
8 #endif
9 #ifndef alloca /* May be a macro, with args. */
10 extern char *alloca ();
11 #endif
12 #endif
13
14 #include <sys/types.h> /* Needed by dirent.h */
15
16 #if defined (USG) && defined (TIOCGWINSZ)
17 #include <sys/stream.h>
18 #if defined (USGr4) || defined (USGr3)
19 #include <sys/ptem.h>
20 #endif /* USGr4 */
21 #endif /* USG && TIOCGWINSZ */
22
23 #include <dirent.h>
24 typedef struct dirent dirent;
25
26 /* SVR4 systems should use <termios.h> rather than <termio.h>. */
27
28 #if defined (USGr4)
29 #define _POSIX_VERSION
30 #endif
This page took 0.031551 seconds and 5 git commands to generate.