Remove unneeded include of windows.h on WIN32, along with an attempt
at the needed wrapping, which is all done properly by Xwindows.h

(This include was also under a DPMSExtension define, for some strange
reason)

Signed-off-by: Jon TURNEY <[email protected]>
---
 xset.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/xset.c b/xset.c
index 40fc7e1..906fa95 100644
--- a/xset.c
+++ b/xset.c
@@ -65,19 +65,6 @@ in this Software without prior written authorization from 
The Open Group.
 #endif
 #ifdef DPMSExtension
 # include <X11/extensions/dpms.h>
-# ifdef WIN32
-#  define BOOL wBOOL
-#  ifdef Status
-#   undef Status
-#   define Status wStatus
-#  endif
-#  include <windows.h>
-#  ifdef Status
-#   undef Status
-#   define Status int
-#  endif
-#  undef BOOL
-# endif
 #endif /* DPMSExtension */
 
 #ifdef XF86MISC
-- 
1.7.9

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to