diff options
author | Keith Packard <keithp@keithp.com> | 2014-07-30 10:13:53 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-07-30 12:17:27 -0700 |
commit | 90803042bcbb9dc6261b5d112acf5613829d9f70 (patch) | |
tree | 77fd165ff7c69cd3c0999aef4b5993594c79314d /include/xorg-server.h.in | |
parent | a08e7a098aa37351294a25fe62b7ff6e95622e64 (diff) |
Fix files including xorg-server.h by mistake
A few files in the server are including xorg-server.h, which is only
for use by Xorg server drivers. This fixes those errors and then adds
a check to make sure it doesn't happen again.
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include/xorg-server.h.in')
-rw-r--r-- | include/xorg-server.h.in | 4 |
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 |