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:
parent
82f5a12752
commit
36dcc9bb1d
|
@ -43,8 +43,8 @@ in this Software without prior written authorization from The Open Group.
|
||||||
#include "mibstore.h"
|
#include "mibstore.h"
|
||||||
|
|
||||||
#if 1 || PSZ==8
|
#if 1 || PSZ==8
|
||||||
int cfbWindowPrivateIndex;
|
int cfbWindowPrivateIndex = -1;
|
||||||
int cfbGCPrivateIndex;
|
int cfbGCPrivateIndex = -1;
|
||||||
#endif
|
#endif
|
||||||
#ifdef CFB_NEED_SCREEN_PRIVATE
|
#ifdef CFB_NEED_SCREEN_PRIVATE
|
||||||
int cfbScreenPrivateIndex = -1;
|
int cfbScreenPrivateIndex = -1;
|
||||||
|
|
Loading…
Reference in New Issue