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.
This commit is contained in:
Torrey Lyons 2005-03-17 01:12:07 +00:00
parent 82f5a12752
commit 36dcc9bb1d

View File

@ -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;