Fixed includes.

This commit is contained in:
Marcus Sundberg 2000-05-21 18:40:10 +00:00
parent 6f5fe77ed2
commit 126ce0c067
10 changed files with 36 additions and 31 deletions

View File

@ -31,6 +31,8 @@
#endif
#include <windows.h>
#include "quakedef.h"
#include "qargs.h"
#include "console.h"
#include "cdaudio.h"
#include "cmd.h"

View File

@ -50,18 +50,21 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include "quakedef.h"
#include "winquake.h"
#include "resource.h"
#include "sys.h"
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <io.h>
#include <conio.h>
#include "quakedef.h"
#include "winquake.h"
#include "resource.h"
#include "sys.h"
#include "screen.h"
#include "qargs.h"
#include "client.h"
#include "console.h"
qboolean is_server = false;

View File

@ -24,35 +24,17 @@
$Id$
*/
#ifdef HAVE_CONFIG_H
#if defined (CONFIG_BROKETS)
/* We use <config.h> instead of "config.h" so that a compilation
using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
(which it would do because it found this file in $srcdir). */
#include <config.h>
#else
#include "config.h"
#endif
#endif
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
/* This code to undef const added in libiberty. */
#ifndef __STDC__
/* This is a separate conditional since some stdc systems
reject `defined (const)'. */
#ifndef const
#define const
#endif
#endif
#include <errno.h>
#include <fnmatch.h>
#include <ctype.h>
#include "win32/fnmatch.h"
/* Comment out all this code if we are using the GNU C Library, and are not
actually compiling the library itself. This code is part of the GNU C

View File

@ -39,6 +39,9 @@
#include <dinput.h>
#include "client.h"
#include "keys.h"
#include "console.h"
#include "qargs.h"
#include "cmd.h"
//#include "dosisms.h"
#define DINPUT_BUFFERSIZE 16

View File

@ -26,13 +26,16 @@
$Id$
*/
#ifdef _WIN32
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#ifdef _WIN32
#include <windows.h>
#endif
#include <stdlib.h>
#include <string.h>
#include "qtypes.h"
#include "sys.h"
#include "keys.h"
@ -44,8 +47,6 @@
#include "screen.h"
#include "client.h"
#include <string.h>
/*
key up events are sent even if in console mode

View File

@ -31,6 +31,7 @@
# include <config.h>
#endif
#include "sound.h"
#include "console.h"
#ifdef _WIN32
#include "winquake.h"

View File

@ -31,6 +31,8 @@
#endif
#include "quakedef.h"
#include "winquake.h"
#include "qargs.h"
#include "console.h"
#include "sound.h"
#define iDirectSoundCreate(a,b,c) pDirectSoundCreate(a,b,c)

View File

@ -29,14 +29,17 @@
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <stdlib.h>
#include <ctype.h>
#include <winsock.h>
#include <conio.h>
#include "qargs.h"
#include "cvar.h"
#include "server.h"
#include "sys.h"
#include <winsock.h>
#include <conio.h>
qboolean is_server = true;
qboolean WinNT;

View File

@ -20,8 +20,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <stdarg.h>
#include <stdio.h>
#include <stdarg.h>
#include "qtypes.h"
/*
va

View File

@ -31,6 +31,7 @@
# include "config.h"
#endif
#include <stdlib.h>
#include "quakedef.h"
#include "winquake.h"
#include "sys.h"
@ -42,6 +43,11 @@
#include "wad.h"
#include "cmd.h"
#include "qendian.h"
#include "draw.h"
#include "console.h"
#include "sound.h"
#include "cdaudio.h"
#include "qargs.h"
#define MINIMUM_MEMORY 0x550000