* test case for PR 18230, over from d30v branch
[binutils-gdb.git] / readline / sysdep-sysv4.h
blob558492f3048ea302ac605c7c1b381854c312e653
1 /* System-dependent stuff, for SVR4 systems */
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
14 #include <sys/types.h> /* Needed by dirent.h */
15 #include <sys/stream.h>
16 #include <sys/ptem.h>
17 #include <dirent.h>
18 typedef struct dirent dirent;
20 /* SVR4 systems should use <termios.h> rather than <termio.h>. */
21 #define _POSIX_VERSION
23 /* SVR4 systems need _POSIX_SOURCE defined to suppress 'struct winsize'
24 definition in <termios.h>, since it's unconditionally defined in
25 <sys/ptem.h>. */
26 #define _POSIX_SOURCE