summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Pavlik <rpavlik@iastate.edu>2011-10-26 12:17:44 -0500
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-11-05 23:08:22 +0000
commitbd1103ef3cfef9cfed645566f944a69e7ca568b4 (patch)
tree01d2f9a67111681d6849a6b27b7435cf1ca89ba8
parenta68c5b7b29eb1433b1be73b50c4248e10eab8e64 (diff)
Include Xwindows.h rather than windows.h
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@iastate.edu> Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
-rw-r--r--listing.c2
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