/* $XFree86: xc/programs/Xserver/PEX5/include/pexos.h,v 1.3 2001/07/25 15:04:59 dawes Exp $ */ /* * This file contains all external OS/ANSI header includes, prototypes and * definitions. */ #ifndef _PEXOS_H_ #define _PEXOS_H_ #ifndef XFree86LOADER #include #include #include #ifdef NEED_OS_LIMITS #ifndef X_NOT_POSIX #ifdef _POSIX_SOURCE #include #else #define _POSIX_SOURCE #include #undef _POSIX_SOURCE #endif #endif /* X_NOT_POSIX */ #ifndef PATH_MAX #ifdef WIN32 #define PATH_MAX 512 #else #include #endif #ifndef PATH_MAX #ifdef MAXPATHLEN #define PATH_MAX MAXPATHLEN #else #define PATH_MAX 1024 #endif #endif #endif /* PATH_MAX */ #endif /* NEED_OS_LIMITS */ #ifdef NEED_GETENV #include #include #endif /* NEED_GETENV */ #ifndef SEEK_SET #define SEEK_SET 0 #endif #else #include "xf86_ansic.h" #endif #endif /* _PEXOS_H_ */