[PATCH xserver 4/7] xserver: Check the right HAVE_*_CONFIG_H.

Eric Anholt eric at anholt.net
Wed Mar 22 22:11:33 UTC 2017


---
 hw/xfree86/exa/examodule.c | 2 +-
 hw/xwayland/xwayland-shm.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/xfree86/exa/examodule.c b/hw/xfree86/exa/examodule.c
index 76f780ab6d6f..0bbd93e34015 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 452d1f509115..29732eaca23b 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
 
-- 
2.11.0



More information about the xorg-devel mailing list