summaryrefslogtreecommitdiff
path: root/tools/virtual.c
diff options
context:
space:
mode:
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>