00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00028 #ifndef SYSTEM_HEADERS_H
00029 #define SYSTEM_HEADERS_H
00030
00031
00032
00033 #if HAVE_CONFIG_H
00034 # include <config.h>
00035 #endif
00036
00037 #ifndef _GNU_SOURCE
00038 # define _GNU_SOURCE 1
00039 #endif
00040
00041 #if defined(__cplusplus)
00042 # include <cstdio>
00043 # include <cstdlib>
00044 # include <cstddef>
00045 # include <cstdarg>
00046 # include <cstring>
00047 # include <cctype>
00048 # include <cerrno>
00049 # include <climits>
00050 #else
00051 # include <stdio.h>
00052 # if STDC_HEADERS
00053 # include <stdlib.h>
00054 # include <stddef.h>
00055 # include <stdarg.h>
00056 # else
00057 # if HAVE_STDLIB_H
00058 # include <stdlib.h>
00059 # endif
00060 # if HAVE_STDDEF_H
00061 # include <stddef.h>
00062 # endif
00063 # if HAVE_STDARG_H
00064 # include <stdarg.h>
00065 # endif
00066 # endif
00067 # if HAVE_STRING_H
00068 # include <string.h>
00069 # endif
00070 # if HAVE_CTYPE_H
00071 # include <ctype.h>
00072 # endif
00073 # if HAVE_ERRNO_H
00074 # include <errno.h>
00075 # endif
00076 # if HAVE_LIMITS_H
00077 # include <limits.h>
00078 # endif
00079 #endif
00080
00081 #if TIME_WITH_SYS_TIME
00082 # include <sys/time.h>
00083 # if defined(__cplusplus)
00084 # include <ctime>
00085 # else
00086 # include <time.h>
00087 # endif
00088 #else
00089 # if HAVE_SYS_TIME_H
00090 # include <sys/time.h>
00091 # else
00092 # if defined(__cplusplus)
00093 # include <ctime>
00094 # else
00095 # include <time.h>
00096 # endif
00097 # endif
00098 #endif
00099
00100 #if HAVE_INTTYPES_H
00101 # include <inttypes.h>
00102 #else
00103 # if HAVE_STDINT_H
00104 # include <stdint.h>
00105 # endif
00106 #endif
00107
00108 #if HAVE_SYS_TYPES_H
00109 # include <sys/types.h>
00110 #endif
00111
00112 #if !STDC_HEADERS && HAVE_MEMORY_H
00113 # include <memory.h>
00114 #endif
00115 #if HAVE_STRINGS_H
00116 # include <strings.h>
00117 #endif
00118
00119 #if HAVE_UNISTD_H
00120 # include <unistd.h>
00121 #endif
00122
00123
00124
00125 #include <system/compat.h>
00126
00127
00128
00129 #endif