From 159e03204093991ccd4133133c50c0cae88c828f Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 15 Sep 2009 11:39:09 +1000 Subject: [PATCH] dmx: don't include panoramiXsrv.h if building w/o Xinerama Reported-by: Marvin Schmidt Tested-by: Marvin Schmidt Signed-off-by: Peter Hutterer --- hw/dmx/dmxgcops.c | 2 ++ hw/dmx/dmxinit.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/hw/dmx/dmxgcops.c b/hw/dmx/dmxgcops.c index eaabf16dd..267a306db 100644 --- a/hw/dmx/dmxgcops.c +++ b/hw/dmx/dmxgcops.c @@ -50,7 +50,9 @@ #include "pixmapstr.h" #include "dixfontstr.h" +#ifdef PANORAMIX #include "panoramiXsrv.h" +#endif #define DMX_GCOPS_SET_DRAWABLE(_pDraw, _draw) \ do { \ diff --git a/hw/dmx/dmxinit.c b/hw/dmx/dmxinit.c index 6a0c259ec..e5598e331 100644 --- a/hw/dmx/dmxinit.c +++ b/hw/dmx/dmxinit.c @@ -59,7 +59,9 @@ #include /* For gettimeofday */ #include "dixstruct.h" +#ifdef PANORAMIX #include "panoramiXsrv.h" +#endif #include /* For SIGQUIT */