From e26ab006622ec2b0e7a65181d18c63e43f8fe926 Mon Sep 17 00:00:00 2001 From: bhughes Date: Wed, 16 Jan 2002 11:13:17 +0000 Subject: [PATCH] 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 --- workspace.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/workspace.h b/workspace.h index 013d59affa..e01bb32f22 100644 --- a/workspace.h +++ b/workspace.h @@ -20,6 +20,10 @@ Copyright (C) 1999, 2000 Matthias Ettrich #include #ifdef HAVE_XINERAMA +# ifndef Bool +// if Bool isn't defined, then the Xinerama header will have problems... +# define Bool int +# endif extern "C" { #include };