From be177465498e35425d36be84bc55b64bf91be84c Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 4 Oct 2013 08:40:49 +0100 Subject: 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 --- tools/virtual.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/virtual.c') 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 #elif HAVE_X11_EXTENSIONS_SHMSTR_H #include +#else +#error Failed to find the right header for X11 MIT-SHM protocol definitions #endif #include #include -- cgit v1.2.3