00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00034 #ifndef INCLUDES_H
00035 #define INCLUDES_H
00036
00037 #if defined(osf1) && !defined(__osf__)
00038 # define __osf__
00039 #endif
00040
00041 #if defined(sgi) && !defined(__sgi__)
00042 # define __sgi__
00043 #endif
00044
00045 #ifdef sun
00046 # ifndef __sun__
00047 # define __sun__
00048 # endif
00049 #endif
00050
00051 #if defined(ultrix) && !defined(__ultrix__)
00052 # define __ultrix__
00053 #endif
00054
00055
00056 #ifdef WIN32
00057 #include "win32.h"
00058 #else
00059 #include <autoconf.h>
00060 #endif
00061
00062 #include <stdio.h>
00063 #include <string.h>
00064 #include <ctype.h>
00065 #include <errno.h>
00066 #include <signal.h>
00067 #include <setjmp.h>
00068 #include <stdlib.h>
00069
00070 #ifdef __NetBSD__
00071 #include <math.h>
00072 #endif
00073
00074 #ifdef HAVE_FCNTL_H
00075 #include <fcntl.h>
00076 #endif
00077
00078 #ifdef HAVE_LIBDMALLOC
00079 #include <dmalloc.h>
00080 #endif
00081
00082 #ifdef HAVE_UNISTD_H
00083 #include <unistd.h>
00084 #endif
00085
00086 #ifdef HAVE_SYS_TIME_H
00087 #include <sys/time.h>
00088 #endif
00089
00090 #if defined(HAVE_TIME_H) && defined(TIME_WITH_SYS_TIME)
00091 #include <time.h>
00092 #endif
00093
00094
00095 #ifdef HAVE_STDDEF_H
00096 #include <stddef.h>
00097 #endif
00098
00099 #include <sys/types.h>
00100
00101 #include <sys/stat.h>
00102
00103 #include "config.h"
00104 #include "define.h"
00105 #include "logger.h"
00106 #include "newclient.h"
00107 #include "languages.h"
00108
00109 #ifndef TRUE
00110 #define TRUE 1
00111 #endif
00112
00113 #ifndef FALSE
00114 #define FALSE 0
00115 #endif
00116
00117 #if defined(vax) || defined(ibm032)
00118 size_t strftime(char *, size_t, const char *, const struct tm *);
00119 time_t mktime(struct tm *);
00120 #endif
00121
00122 #endif