diff -r 56cd8111b7f7 -r 41300fa6a67c src/gui/kernel/qt_x11_p.h --- a/src/gui/kernel/qt_x11_p.h Tue Jan 26 12:42:25 2010 +0200 +++ b/src/gui/kernel/qt_x11_p.h Tue Feb 02 00:43:10 2010 +0200 @@ -163,7 +163,9 @@ #endif // QT_NO_XRENDER #ifndef QT_NO_XSYNC +extern "C" { # include "X11/extensions/sync.h" +} #endif // #define QT_NO_XKB @@ -428,6 +430,7 @@ // true if Qt is compiled w/ MIT-SHM support and MIT-SHM is supported on the connected Display bool use_mitshm; + bool use_mitshm_pixmaps; int mitshm_major; // true if Qt is compiled w/ Tablet support and we have a tablet.