diff options
author | Simon Howard | 2008-09-05 00:33:18 +0000 |
---|---|---|
committer | Simon Howard | 2008-09-05 00:33:18 +0000 |
commit | 15f26fadf4315e0336fd0e2c68e7162c29bbffcb (patch) | |
tree | 5e50dd7fc6c82135c5e83019a26611df88d4dc8d /src/hexen/w_wad.c | |
parent | c7ddc423f67236a99956960cf9fe89abf077839b (diff) | |
download | chocolate-doom-15f26fadf4315e0336fd0e2c68e7162c29bbffcb.tar.gz chocolate-doom-15f26fadf4315e0336fd0e2c68e7162c29bbffcb.tar.bz2 chocolate-doom-15f26fadf4315e0336fd0e2c68e7162c29bbffcb.zip |
Fix #include statements to use lower case filenames. Add automake
configuration for building heretic/hexen code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1198
Diffstat (limited to 'src/hexen/w_wad.c')
-rw-r--r-- | src/hexen/w_wad.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/hexen/w_wad.c b/src/hexen/w_wad.c index 7ad7bb2f..9155d9cf 100644 --- a/src/hexen/w_wad.c +++ b/src/hexen/w_wad.c @@ -24,23 +24,17 @@ // HEADER FILES ------------------------------------------------------------ -#ifdef NeXT -#include <libc.h> -#include <ctype.h> -#else -#include <malloc.h> -#include <io.h> +#include <stdio.h> +#include <stdlib.h> +#include <sys/types.h> #include <fcntl.h> -#include <sys/stat.h> -#endif + #include "h2def.h" // MACROS ------------------------------------------------------------------ -#ifdef NeXT -// NeXT doesn't need a binary flag in open call +#ifndef O_BINARY #define O_BINARY 0 -#define strcmpi strcasecmp #endif // TYPES ------------------------------------------------------------------- |