Fix missing includes for Linux platforms

This commit is contained in:
LJ Sonic 2023-09-12 19:52:24 +02:00
parent df0c8e0557
commit 06d4d71b41
2 changed files with 6 additions and 0 deletions

View file

@ -32,6 +32,9 @@
#include "../z_zone.h"
#include "../doomtype.h"
#include "../doomstat.h"
#if defined (__GNUC__) || defined (__unix__)
#include <unistd.h>
#endif
cl_mode_t cl_mode = CL_SEARCHING;
static UINT16 cl_lastcheckedfilecount = 0; // used for full file list

View file

@ -34,6 +34,9 @@
#include "../r_main.h"
#include "../tables.h"
#include "../z_zone.h"
#if defined (__GNUC__) || defined (__unix__)
#include <unistd.h>
#endif
#define SAVEGAMESIZE (768*1024)