summaryrefslogtreecommitdiff
path: root/tools/virtual.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-10-04 08:40:49 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-10-04 08:40:49 +0100
commitbe177465498e35425d36be84bc55b64bf91be84c (patch)
treec8febf0f3a8bdf7d367a1329d07cc818926f61e8 /tools/virtual.c
parentb8aed266194ebff1ee2da1b9f3f69b4c6bdc8bed (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.c2
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>