I got this tree to build under Solaris, AIX, IRIX, & Linux.

In order to do so I:
* included strings.h and string.h in many files so various functions would be
defined
* Fixed model_t collision problem in cl_main.c (Solaris)
* com.c - corrected WORDS_BIGENDIAN spelling
* gl_draw.c - Use HAVE_GL_COLOR_INDEX8_EXT to avoid referencing
GL_COLOR_INDEX8_EXT when it isn't available
* net_udp.c - use socklen_t to appease AIX
This commit is contained in:
Loring Holden 2000-05-25 06:14:56 +00:00
parent 0ad3e80422
commit 8005c0d25e
28 changed files with 148 additions and 25 deletions

View file

@ -31,6 +31,9 @@
# include <config.h>
#endif
#include <sys/types.h>
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include "qargs.h"
#include "cvar.h"
#include "server.h"
@ -46,6 +49,9 @@
#include <errno.h>
#include <unistd.h>
#include <sys/time.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
/* cvar_t sys_extrasleep = {"sys_extrasleep","0"};