bgo#643940 - 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.
Signed-off-by: Federico Mena Quintero's avatarFederico Mena Quintero <federico@gnome.org>
parent ebe98c14
#ifndef GNOME_RR_PRIVATE_H
#define GNOME_RR_PRIVATE_H
#include <X11/Xlib.h>
#ifdef HAVE_RANDR
#include <X11/extensions/Xrandr.h>
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment