From 4426f00f07daeae0361dcb13b21474128f98d872 Mon Sep 17 00:00:00 2001 From: DRC Date: Wed, 12 Oct 2011 20:02:55 +0000 Subject: [PATCH] Re-order headers to ensure that winsock2.h is included before windows.h. Otherwise, MinGW64 complains and MSVC barfs. This is necessary because os.h now includes windows.h via. w32tiger.h. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4724 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- vncviewer/vncviewer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx index 079e7adc..5fe7fe08 100644 --- a/vncviewer/vncviewer.cxx +++ b/vncviewer/vncviewer.cxx @@ -35,7 +35,6 @@ #define mkdir(path, mode) _mkdir(path) #endif -#include #include #include #include @@ -45,6 +44,7 @@ #include #include #include +#include #include #include -- 2.39.5