- fixed compilation for Linux and macOS
This commit is contained in:
parent
76db26ee0b
commit
0d420a75b7
9 changed files with 17 additions and 10 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue