]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix compile error on OSX
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 30 Oct 2011 03:04:21 +0000 (03:04 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 30 Oct 2011 03:04:21 +0000 (03:04 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11491 d7cf8633-e32d-0410-b094-e92efae38249

fs.c

diff --git a/fs.c b/fs.c
index 775b97f4d975ac4848fbc5408d278272493866fb..ff6c0eef874832ef3c2ea5211c56aa4e0df77c17 100644 (file)
--- a/fs.c
+++ b/fs.c
@@ -1957,6 +1957,7 @@ void FS_Init (void)
                        if (split)
                        {
                                struct stat statresult;
+                               char vabuf[1024];
                                // truncate to just after the .app/
                                split[5] = 0;
                                // see if gamedir exists in Resources