game_launch: fix Windows build (as suggested by @SNMetamorph)

This commit is contained in:
Alibek Omarov
2022-06-09 20:27:27 +03:00
parent a717b7fc49
commit f467d0c807
2 changed files with 7 additions and 2 deletions
+5 -1
View File
@@ -25,7 +25,11 @@ GNU General Public License for more details.
#include <emscripten.h>
#endif
#include <unistd.h>
#if XASH_WIN32
#include <process.h> // _execve
#else
#include <unistd.h> // execve
#endif
extern char **environ;
static char szGameDir[128]; // safe place to keep gamedir