cleanup the includes in host.h

This commit is contained in:
Bill Currie 2000-12-30 03:23:31 +00:00
parent 5197a6443d
commit 5f21837c33
6 changed files with 41 additions and 28 deletions

View file

@ -41,6 +41,9 @@
#ifdef HAVE_WINSOCK_H
#include <winsock.h>
#endif
#ifdef HAVE_SETJMP_H
#include <setjmp.h>
#endif
#include "bothdefs.h"
#include "buildnum.h"

View file

@ -30,6 +30,19 @@
# include "config.h"
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "bothdefs.h"
#include "cdaudio.h"
#include "cl_ents.h"
@ -51,16 +64,6 @@
#include "va.h"
#include "view.h"
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
extern cvar_t *gl_flashblend;
extern cvar_t *cl_autoexec;

View file

@ -31,6 +31,12 @@
#endif
#include <stdlib.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include "cmd.h"
#include "console.h"

View file

@ -39,6 +39,12 @@
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include "cl_input.h"
#include "cl_main.h"

View file

@ -37,6 +37,12 @@
#include <unistd.h>
#include <sys/stat.h>
#include <sys/time.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include "cvar.h"
#include "host.h"