From e6292bb8ae61f231520e15e9c8a4d07375febf6a Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 25 Feb 2025 14:37:11 +0100 Subject: [PATCH] mi: clean up including panoramix headers * use their actual path instead of relying this to be in compiler's include path list. * no need to do it only conditionally, no #ifdef needed Signed-off-by: Enrico Weigelt, metux IT consult --- mi/miexpose.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mi/miexpose.c b/mi/miexpose.c index d5deb1a2e..3c322e60d 100644 --- a/mi/miexpose.c +++ b/mi/miexpose.c @@ -80,6 +80,8 @@ Equipment Corporation. #include "dix/dix_priv.h" #include "mi/mi_priv.h" +#include "Xext/panoramiX.h" +#include "Xext/panoramiXsrv.h" #include "misc.h" #include "regionstr.h" @@ -91,11 +93,6 @@ Equipment Corporation. #include "dixstruct.h" #include "globals.h" -#ifdef XINERAMA -#include "panoramiX.h" -#include "panoramiXsrv.h" -#endif /* XINERAMA */ - /* machine-independent graphics exposure code. any device that uses the region package can call this.