summaryrefslogtreecommitdiff
path: root/cfb
diff options
context:
space:
mode:
authorTorrey Lyons <torrey@mrcla.com>2005-03-17 01:12:07 +0000
committerTorrey Lyons <torrey@mrcla.com>2005-03-17 01:12:07 +0000
commit36dcc9bb1d51fb8c0d67c7e15700e3473a06e47b (patch)
treed63553dc62b948f937189fe4793c69d71cf40d25 /cfb
parent82f5a127522e48ff7ff78400eadbce0a5a362064 (diff)
Fix build on stock Mac OS X: Out of the box, Mac OS X does not include
Freetype2, Expat, or PNG. Also global variables should be initalized in the Xserver.
Diffstat (limited to 'cfb')
-rw-r--r--cfb/cfballpriv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cfb/cfballpriv.c b/cfb/cfballpriv.c
index e107d9ccf..8da0c1c7b 100644
--- a/cfb/cfballpriv.c
+++ b/cfb/cfballpriv.c
@@ -43,8 +43,8 @@ in this Software without prior written authorization from The Open Group.
#include "mibstore.h"
#if 1 || PSZ==8
-int cfbWindowPrivateIndex;
-int cfbGCPrivateIndex;
+int cfbWindowPrivateIndex = -1;
+int cfbGCPrivateIndex = -1;
#endif
#ifdef CFB_NEED_SCREEN_PRIVATE
int cfbScreenPrivateIndex = -1;