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 */