diff --git a/stepmania/src/RageUtil.h b/stepmania/src/RageUtil.h index 69552a580a..f0b9fc786d 100644 --- a/stepmania/src/RageUtil.h +++ b/stepmania/src/RageUtil.h @@ -197,12 +197,15 @@ void TrimRight(CString &str, const char *s = "\r\n\t "); /* Fix Windows breakage ... */ #ifdef WIN32 +#include /* has stuff that should be in unistd.h */ #define getcwd _getcwd #define wgetcwd _wgetcwd #define chdir _chdir #define wchdir _wchdir #define alloca _alloca #define stat _stat +#else +#include /* correct place with correct definitions */ #endif #endif