/* System-dependent stuff, for SVR4 systems */ #ifdef __GNUC__ #define alloca __builtin_alloca #else #if defined (sparc) && defined (sun) #include #endif #ifndef alloca /* May be a macro, with args. */ extern char *alloca (); #endif #endif #include /* Needed by dirent.h */ #include #include #include typedef struct dirent dirent; /* SVR4 systems should use rather than . */ #define _POSIX_VERSION /* SVR4 systems need _POSIX_SOURCE defined to suppress 'struct winsize' definition in , since it's unconditionally defined in . */ #define _POSIX_SOURCE