diff options
author | infirit <[email protected]> | 2014-11-08 01:51:05 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-28 08:51:51 +0100 |
commit | ece3dc98d3da07d8484f4aeb330e809029f1a4d8 (patch) | |
tree | ddfd3980df67953f0d3b2d52a6d0da2b1245f28d /libmate-desktop | |
parent | 9034e7ba7c225fde4349cc59c6ba242225290281 (diff) | |
download | mate-desktop-ece3dc98d3da07d8484f4aeb330e809029f1a4d8.tar.bz2 mate-desktop-ece3dc98d3da07d8484f4aeb330e809029f1a4d8.tar.xz |
Include Xlib.h so we can build when RANDR is not available
The RANDR headers include the Xlib paraphernalia, but we don't include those
headers when gnome-desktop is configured to not use RANDR. So, instead we
include Xlib.h so that we'll have defined types for Display, Screen, etc.
Based on gnome-desktop commit: 27fb2967f620cbc82da57b9b5eea7700218b6620
From: Federico Mena Quintero <[email protected]>
Diffstat (limited to 'libmate-desktop')
-rw-r--r-- | libmate-desktop/mate-rr-private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmate-desktop/mate-rr-private.h b/libmate-desktop/mate-rr-private.h index 74bb9c4..b292a9d 100644 --- a/libmate-desktop/mate-rr-private.h +++ b/libmate-desktop/mate-rr-private.h @@ -1,6 +1,8 @@ #ifndef MATE_RR_PRIVATE_H #define MATE_RR_PRIVATE_H +#include <X11/Xlib.h> + #ifdef HAVE_RANDR #include <X11/extensions/Xrandr.h> #endif |