diff --git a/src/client/menu/menu.c b/src/client/menu/menu.c index 81069ef1..c0fbec7f 100644 --- a/src/client/menu/menu.c +++ b/src/client/menu/menu.c @@ -3420,7 +3420,7 @@ static qboolean PlayerConfig_ScanDirectories( void ) char findname[1024]; char scratch[1024]; int ndirs = 0, npms = 0; - char **dirnames; + char **dirnames = NULL; char *path = NULL; int i; diff --git a/src/common/qcommon.h b/src/common/qcommon.h index 34d284f8..05942093 100644 --- a/src/common/qcommon.h +++ b/src/common/qcommon.h @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "../game/quake2/q_shared.h" -#define VERSION 1.00 +#define VERSION 1.01 #define BASEDIRNAME "baseq2" #if defined __linux__ diff --git a/src/posix/posix.c b/src/posix/posix.c index 427c7314..684d2097 100644 --- a/src/posix/posix.c +++ b/src/posix/posix.c @@ -25,6 +25,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include + +#if defined(__linux__) +#define __USE_GNU +#endif + #include #include