Clean up the X11 definitions after the X11 includes.

This fixes build problems after 8f43c5e: sm.h would include
X11/SM/SMlib.h, which includes X11/ICE/ICElib.h, which adds a #define
Status int, which breaks qdeclarativeview.h, included by
moc_declarative.cpp.

Reviewed-by: mgraesslin
icc-effect-5.14.5
Raphael Kubo da Costa 2011-10-31 18:29:18 -02:00
parent 8b9e7f56cf
commit f58653bdcd
1 changed files with 3 additions and 1 deletions

4
sm.h
View File

@ -25,10 +25,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QDataStream>
#include <kapplication.h>
#include <ksessionmanager.h>
#include <X11/SM/SMlib.h>
#include <netwm_def.h>
#include <QRect>
#include <X11/SM/SMlib.h>
#include <fixx11h.h>
class QSocketNotifier;
namespace KWin