Crossfire Server, Branch 1.12
R12190
|
00001 /* 00002 * static char *rcsid_includes_h = 00003 * "$Id: includes.h 11578 2009-02-23 22:02:27Z lalo $"; 00004 */ 00005 00006 /* 00007 CrossFire, A Multiplayer game for X-windows 00008 00009 Copyright (C) 2002 Mark Wedel & Crossfire Development Team 00010 Copyright (C) 1992 Frank Tore Johansen 00011 00012 This program is free software; you can redistribute it and/or modify 00013 it under the terms of the GNU General Public License as published by 00014 the Free Software Foundation; either version 2 of the License, or 00015 (at your option) any later version. 00016 00017 This program is distributed in the hope that it will be useful, 00018 but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 GNU General Public License for more details. 00021 00022 You should have received a copy of the GNU General Public License 00023 along with this program; if not, write to the Free Software 00024 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00025 00026 The authors can be reached via e-mail at crossfire-devel@real-time.com 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 /* Include this first, because it lets us know what we are missing */ 00056 #ifdef WIN32 /* ---win32 exclude this, config comes from VC ide */ 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 /* stddef is for offsetof */ 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 /* INCLUDES_H */