Buildfix für Linux

This commit is contained in:
Yamagi Burmeister 2009-03-10 16:52:46 +00:00
parent 0cda00c5aa
commit 6e2f0cd5c1
3 changed files with 7 additions and 2 deletions

View file

@ -3420,7 +3420,7 @@ static qboolean PlayerConfig_ScanDirectories( void )
char findname[1024];
char scratch[1024];
int ndirs = 0, npms = 0;
char **dirnames;
char **dirnames = NULL;
char *path = NULL;
int i;

View file

@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "../game/quake2/q_shared.h"
#define VERSION 1.00
#define VERSION 1.01
#define BASEDIRNAME "baseq2"
#if defined __linux__

View file

@ -25,6 +25,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <ctype.h>
#include <dirent.h>
#include <unistd.h>
#if defined(__linux__)
#define __USE_GNU
#endif
#include <sys/mman.h>
#include <sys/time.h>