[PATCH app/xkbcomp] Include Xwindows.h rather than windows.h

Jon TURNEY jon.turney at dronecode.org.uk
Mon Oct 29 06:38:58 PDT 2012


From: Ryan Pavlik <rpavlik at iastate.edu>

Include the specially wrapped windows.h in Xwindows.h, rather than
including it directly to avoid compilation errors due to clashing
definitions

Signed-off-by: Ryan Pavlik <rpavlik at iastate.edu>
Reviewed-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
 listing.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/listing.c b/listing.c
index 146ecba..11de88a 100644
--- a/listing.c
+++ b/listing.c
@@ -108,7 +108,7 @@ SOFTWARE.
 #endif
 
 #ifdef WIN32
-# include <windows.h>
+# include <X11/Xwindows.h>
 # define FileName(file) file.cFileName
 # undef TEXT
 # undef ALTERNATE
-- 
1.7.9



More information about the xorg-devel mailing list