- fixed compilation for Linux and macOS

This commit is contained in:
alexey.lysiuk 2020-04-11 20:36:36 +03:00
commit 0d420a75b7
9 changed files with 17 additions and 10 deletions

View file

@ -43,6 +43,11 @@
#include <sys/stat.h>
#include <time.h>
#ifndef _WIN32
#include <pwd.h>
#include <unistd.h>
#endif
/*
progdir will hold the path up to the game directory, including the slash