mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Buildfix für Linux
This commit is contained in:
parent
0cda00c5aa
commit
6e2f0cd5c1
3 changed files with 7 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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__
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue