From 36dcc9bb1d51fb8c0d67c7e15700e3473a06e47b Mon Sep 17 00:00:00 2001 From: Torrey Lyons Date: Thu, 17 Mar 2005 01:12:07 +0000 Subject: [PATCH] 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. --- cfb/cfballpriv.c | 4 ++-- 1 file 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;