before including the Xinerama header, make sure Bool is defined.

The Xlib.h Bool define has to be removed before including Qt headers,
so this makes sure that things work properly...

svn path=/trunk/kdebase/kwin/; revision=131909
This commit is contained in:
bhughes 2002-01-16 11:13:17 +00:00
parent 7b78ea9f05
commit e26ab00662

View file

@ -20,6 +20,10 @@ Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
#include <X11/Xlib.h>
#ifdef HAVE_XINERAMA
# ifndef Bool
// if Bool isn't defined, then the Xinerama header will have problems...
# define Bool int
# endif
extern "C" {
#include <X11/extensions/Xinerama.h>
};