diff options
author | Ryan Pavlik <rpavlik@iastate.edu> | 2011-10-26 12:17:44 -0500 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2012-11-05 23:08:22 +0000 |
commit | bd1103ef3cfef9cfed645566f944a69e7ca568b4 (patch) | |
tree | 01d2f9a67111681d6849a6b27b7435cf1ca89ba8 /listing.c | |
parent | a68c5b7b29eb1433b1be73b50c4248e10eab8e64 (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>
Diffstat (limited to 'listing.c')
-rw-r--r-- | listing.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -108,7 +108,7 @@ SOFTWARE. #endif #ifdef WIN32 -# include <windows.h> +# include <X11/Xwindows.h> # define FileName(file) file.cFileName # undef TEXT # undef ALTERNATE |