diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-10-04 08:40:49 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-10-04 08:40:49 +0100 |
commit | be177465498e35425d36be84bc55b64bf91be84c (patch) | |
tree | c8febf0f3a8bdf7d367a1329d07cc818926f61e8 /tools/virtual.c | |
parent | b8aed266194ebff1ee2da1b9f3f69b4c6bdc8bed (diff) |
intel-virtual-overlay: Error out if no X11 SHM header is defined
Make the error explicit rather than dieing later with unknown constants.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools/virtual.c')
-rw-r--r-- | tools/virtual.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/virtual.c b/tools/virtual.c index 74f402d4..160d6a1d 100644 --- a/tools/virtual.c +++ b/tools/virtual.c @@ -36,6 +36,8 @@ #include <X11/extensions/shmproto.h> #elif HAVE_X11_EXTENSIONS_SHMSTR_H #include <X11/extensions/shmstr.h> +#else +#error Failed to find the right header for X11 MIT-SHM protocol definitions #endif #include <X11/extensions/Xdamage.h> #include <X11/extensions/Xinerama.h> |