/* File: h-system.h */ #ifndef INCLUDED_H_SYSTEM_H #define INCLUDED_H_SYSTEM_H /* * Include the basic "system" files. * * Make sure all "system" constants/macros are defined. * Make sure all "system" functions have "extern" declarations. * * This file is a big hack to make other files less of a hack. * This file has been rebuilt -- it may need a little more work. */ #include #include #include #if defined(NeXT) # include #else # include #endif #ifdef SET_UID # include # if defined(Pyramid) || defined(NeXT) || defined(SUNOS) || \ defined(NCR3K) || defined(SUNOS) || defined(ibm032) || \ defined(__osf__) || defined(ISC) || defined(SGI) || \ defined(linux) # include # endif # if !defined(SGI) && !defined(ULTRIX) # include # endif #endif #include #ifdef MACINTOSH # include #endif #if defined(WINDOWS) || defined(MSDOS) # include #endif #if !defined(MACINTOSH) && \ !defined(__MWERKS__) # if defined(__TURBOC__) || defined(__WATCOMC__) # include # else # include # endif #endif #if !defined(NeXT) && !defined(__MWERKS__) # include #endif #ifdef SET_UID # ifndef USG # include # include # endif # ifdef linux # include # endif # include # include # include # if defined(SOLARIS) # include # endif #endif #ifdef __DJGPP__ #include #endif /* __DJGPP__ */ #ifdef SET_UID #ifdef USG # include #else # include # ifndef strstr extern char *strstr(); # endif # ifndef strchr extern char *strchr(); # endif # ifndef strrchr extern char *strrchr(); # endif #endif #else # include #endif #if !defined(linux) && !defined(__MWERKS__) extern long atol(); #endif #include #endif /* There was a bug introduced in 10.4.11; working around it */ #ifdef __APPLE__ #define GETLOGIN_BROKEN #endif