diff --git a/tools/gpl-quake/cmdlib.c b/tools/gpl-quake/cmdlib.c index c345b00..b4529bb 100644 --- a/tools/gpl-quake/cmdlib.c +++ b/tools/gpl-quake/cmdlib.c @@ -6,6 +6,8 @@ #ifdef WIN32 #include +#else +#include #endif #ifdef NeXT @@ -169,7 +171,7 @@ void Q_getwd (char *out) _getcwd (out, 256); strcat (out, "\\"); #else - getwd (out); + getcwd (out, 256); #endif }