1 1.2 christos #ifdef __cplusplus 2 1.2 christos #error "Do not use C++. See the INSTALL file." 3 1.2 christos #endif 4 1.2 christos 5 1.3 christos #if !defined(__GNUC__) || (__GNUC__ < 4) 6 1.3 christos #define __attribute__(x) 7 1.3 christos #endif 8 1.1 christos 9 1.1 christos #if defined(__linux__) || defined(__MINT__) 10 1.1 christos #define _GNU_SOURCE /* See test-*.c what needs this. */ 11 1.1 christos #endif 12 1.1 christos 13 1.1 christos #include <sys/types.h> 14 1.1 christos 15 1.2 christos #define MAN_CONF_FILE "/etc/man.conf" 16 1.2 christos #define MANPATH_DEFAULT "/usr/share/man:/usr/X11R6/man:/usr/local/man" 17 1.3 christos #define UTF8_LOCALE "en_US.UTF-8" 18 1.3 christos #define HAVE_CMSG_XPG42 0 19 1.1 christos #define HAVE_DIRENT_NAMLEN 1 20 1.3 christos #define HAVE_ENDIAN 0 21 1.2 christos #define HAVE_ERR 1 22 1.1 christos #define HAVE_FTS 1 23 1.3 christos #define HAVE_FTS_COMPARE_CONST 0 24 1.2 christos #define HAVE_GETLINE 1 25 1.1 christos #define HAVE_GETSUBOPT 0 26 1.2 christos #define HAVE_ISBLANK 1 27 1.2 christos #define HAVE_MKDTEMP 1 28 1.3 christos #define HAVE_NTOHL 1 29 1.2 christos #define HAVE_PLEDGE 0 30 1.2 christos #define HAVE_PROGNAME 1 31 1.1 christos #define HAVE_REALLOCARRAY 0 32 1.2 christos #define HAVE_REWB_BSD 1 33 1.2 christos #define HAVE_REWB_SYSV 0 34 1.2 christos #define HAVE_SANDBOX_INIT 0 35 1.1 christos #define HAVE_STRCASESTR 1 36 1.2 christos #define HAVE_STRINGLIST 0 37 1.1 christos #define HAVE_STRLCAT 1 38 1.1 christos #define HAVE_STRLCPY 1 39 1.1 christos #define HAVE_STRPTIME 1 40 1.1 christos #define HAVE_STRSEP 1 41 1.1 christos #define HAVE_STRTONUM 0 42 1.3 christos #define HAVE_SYS_ENDIAN 1 43 1.2 christos #define HAVE_VASPRINTF 1 44 1.1 christos #define HAVE_WCHAR 1 45 1.1 christos #define HAVE_OHASH 0 46 1.1 christos 47 1.1 christos #define BINM_APROPOS "apropos" 48 1.3 christos #define BINM_CATMAN "catman" 49 1.2 christos #define BINM_MAKEWHATIS "makewhatis" 50 1.1 christos #define BINM_MAN "man" 51 1.2 christos #define BINM_SOELIM "soelim" 52 1.1 christos #define BINM_WHATIS "whatis" 53 1.1 christos 54 1.1 christos extern int getsubopt(char **, char * const *, char **); 55 1.1 christos extern void *reallocarray(void *, size_t, size_t); 56 1.1 christos extern long long strtonum(const char *, long long, long long, const char **); 57