From: Ryan Pavlik <[email protected]> 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 <[email protected]> Reviewed-by: Jon TURNEY <[email protected]> --- 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 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
