From: havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Date: Sun, 30 Oct 2011 03:04:21 +0000 (+0000)
Subject: fix compile error on OSX
X-Git-Tag: xonotic-v0.6.0~163^2~66
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=05b7bef22279c4ba7bc7ce200d68ca1e22cbc167;p=xonotic%2Fdarkplaces.git

fix compile error on OSX


git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11491 d7cf8633-e32d-0410-b094-e92efae38249
---

diff --git a/fs.c b/fs.c
index 775b97f4..ff6c0eef 100644
--- 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