Make that build with gcc 2.95

This commit is contained in:
matthieu 2007-12-23 08:01:09 +00:00
parent 267ae69ebc
commit d99925b594

View File

@ -49,17 +49,21 @@ int xnestNumScreens = 0;
Bool xnestDoDirectColormaps = False;
Window xnestParentWindow = 0;
#ifdef COMPOSITE
/* XXX terrible hack */
extern Bool noCompositeExtension;
#endif
#ifdef XKB
extern Bool noXkbExtension;
#endif
/* ddxInitGlobals - called by |InitGlobals| from os/util.c */
void ddxInitGlobals(void)
{
#ifdef COMPOSITE
/* XXX terrible hack */
extern Bool noCompositeExtension;
noCompositeExtension = TRUE;
#endif
#ifdef XKB
extern Bool noXkbExtension;
noXkbExtension = TRUE;
#endif
}