]>
Commit | Line | Data |
---|---|---|
51493cdb JG |
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> | |
51493cdb | 8 | #endif |
3f73352f | 9 | extern char *alloca (); |
51493cdb | 10 | #endif |
56858b95 | 11 | |
3f73352f JG |
12 | #include <sys/types.h> /* Needed by dirent.h */ |
13 | ||
56858b95 SG |
14 | #if defined (USG) && defined (TIOCGWINSZ) |
15 | #include <sys/stream.h> | |
16 | #if defined (USGr4) || defined (USGr3) | |
17 | #include <sys/ptem.h> | |
18 | #endif /* USGr4 */ | |
19 | #endif /* USG && TIOCGWINSZ */ | |
20 | ||
21 | #include <dirent.h> | |
22 | typedef struct dirent dirent; | |
5bb14552 FF |
23 | |
24 | /* SVR4 systems should use <termios.h> rather than <termio.h>. */ | |
25 | ||
26 | #if defined (USGr4) | |
27 | #define _POSIX_VERSION | |
28 | #endif |