diff --git a/nx-X11/programs/Xserver/randr/rrinfo.c b/nx-X11/programs/Xserver/randr/rrinfo.c index bea9214367..ad9cb7d8d1 100644 --- a/nx-X11/programs/Xserver/randr/rrinfo.c +++ b/nx-X11/programs/Xserver/randr/rrinfo.c @@ -201,7 +201,7 @@ RRGetInfo(ScreenPtr pScreen, Bool force_query) if (!(*pScrPriv->rrGetInfo) (pScreen, &rotations)) return FALSE; -#if RANDR_10_INTERFACE +#if defined(RANDR_10_INTERFACE) && !defined(NXAGENT_SERVER) if (pScrPriv->nSizes) RRScanOldConfig(pScreen, rotations); #endif