diff --git a/hw/xfree86/common/xf86cmap.c b/hw/xfree86/common/xf86cmap.c index bb639c4f8..ca547cc33 100644 --- a/hw/xfree86/common/xf86cmap.c +++ b/hw/xfree86/common/xf86cmap.c @@ -29,18 +29,12 @@ #include #endif -#if defined(_XOPEN_SOURCE) || defined(__sun) && defined(__SVR4) #include -#else -#define _XOPEN_SOURCE /* to get prototype for pow on some systems */ -#include -#undef _XOPEN_SOURCE -#endif - #include -#include "misc.h" #include +#include "misc.h" + #include "dix/colormap_priv.h" #include "colormapst.h" #include "scrnintstr.h"