Revision: 4906
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4906&view=rev
Author:   ossman_
Date:     2012-04-26 09:18:19 +0000 (Thu, 26 Apr 2012)
Log Message:
-----------
Windows has a bit of a peculiarity in that winsock2.h must be included
before windows.h for correct winsock behaviour. mingw-w64 also enforces
this order, so to avoid compile errors we must include windows.h late in
all files.

Modified Paths:
--------------
    trunk/win/winvnc/JavaViewer.cxx

Modified: trunk/win/winvnc/JavaViewer.cxx
===================================================================
--- trunk/win/winvnc/JavaViewer.cxx     2012-04-26 09:04:14 UTC (rev 4905)
+++ trunk/win/winvnc/JavaViewer.cxx     2012-04-26 09:18:19 UTC (rev 4906)
@@ -16,7 +16,6 @@
  * USA.
  */
 
-#include <windows.h>
 #include <winvnc/JavaViewer.h>
 #include <winvnc/resource.h>
 #include <rdr/MemInStream.h>
@@ -24,6 +23,8 @@
 #include <rfb/VNCServerST.h>
 #include <rfb_win32/TCharArray.h>
 
+#include <windows.h>
+
 #define strcasecmp _stricmp
 
 using namespace winvnc;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Tigervnc-commits mailing list
Tigervnc-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to