summaryrefslogtreecommitdiff
path: root/include/xorg-server.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'include/xorg-server.h.in')
-rw-r--r--include/xorg-server.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/xorg-server.h.in b/include/xorg-server.h.in
index 8bf9d38f2..09b79b6e3 100644
--- a/include/xorg-server.h.in
+++ b/include/xorg-server.h.in
@@ -16,6 +16,10 @@
#ifndef _XORG_SERVER_H_
#define _XORG_SERVER_H_
+#ifdef HAVE_XORG_CONFIG_H
+#error Include xorg-config.h when building the X server
+#endif
+
/* Support BigRequests extension */
#undef BIGREQS