]>
Commit | Line | Data |
---|---|---|
d6400b14 FF |
1 | /* System-dependent stuff, for SVR4 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 | #include <sys/stream.h> | |
16 | #include <sys/ptem.h> | |
17 | #include <dirent.h> | |
18 | typedef struct dirent dirent; | |
19 | ||
20 | /* SVR4 systems should use <termios.h> rather than <termio.h>. */ | |
21 | #define _POSIX_VERSION | |
22 | ||
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 |