summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2017-03-22 15:11:33 -0700
committerAdam Jackson <ajax@redhat.com>2017-03-23 13:17:39 -0400
commit2da405759fbabd4b918838a0de728c1911b4a2fa (patch)
tree394942f08156eb981ae457420448bb0be7b35b9d
parent190c2adf4a237a4c0dc13d7566ca91662271d3e4 (diff)
xserver: Check the right HAVE_*_CONFIG_H.
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Eric Anholt <eric@anholt.net>
-rw-r--r--hw/xfree86/exa/examodule.c2
-rw-r--r--hw/xwayland/xwayland-shm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/exa/examodule.c b/hw/xfree86/exa/examodule.c
index 76f780ab6..0bbd93e34 100644
--- a/hw/xfree86/exa/examodule.c
+++ b/hw/xfree86/exa/examodule.c
@@ -25,7 +25,7 @@
*
*/
-#ifdef HAVE_CONFIG_H
+#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
diff --git a/hw/xwayland/xwayland-shm.c b/hw/xwayland/xwayland-shm.c
index 452d1f509..29732eaca 100644
--- a/hw/xwayland/xwayland-shm.c
+++ b/hw/xwayland/xwayland-shm.c
@@ -24,7 +24,7 @@
* SOFTWARE.
*/
-#ifdef HAVE_CONFIG_H
+#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif