From 2f1408994a9a0c5323698eb1e1f8cb2ccce14c81 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 16 Dec 2002 02:11:16 +0000 Subject: [PATCH] fix up chdir --- stepmania/src/RageUtil.h | 3 +++ 1 file changed, 3 insertions(+) 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