]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gsocket.h: Make sure that winsock2.h is included before windows.h.
authorOzkan Sezer <sezeroz@gmail.com>
Sun, 18 Apr 2010 10:15:52 +0000 (10:15 +0000)
committerKai Tietz <ktietz@gcc.gnu.org>
Sun, 18 Apr 2010 10:15:52 +0000 (12:15 +0200)
2010-04-18  Ozkan Sezer  <sezeroz@gmail.com>

        * gsocket.h: Make sure that winsock2.h is included before windows.h.

From-SVN: r158482

gcc/ada/ChangeLog
gcc/ada/gsocket.h

index d24a07d4dc3f1ad1bef8e8b7f2d957128ed66761..ee70230c08e736a1826ec2348d6ab521c7bf039e 100644 (file)
@@ -1,3 +1,7 @@
+2010-04-18  Ozkan Sezer  <sezeroz@gmail.com>
+
+       * gsocket.h: Make sure that winsock2.h is included before windows.h.
+
 2010-04-17  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gcc-interface/utils2.c (build_unary_op) <ATTR_ADDR_EXPR>: Do not
index ca016c921c0aaf2bc6163a9736203648ade1e29d..a8e6faa246725590242cebaedfa9fa914743b498 100644 (file)
@@ -71,7 +71,6 @@
 
 #elif defined (WINNT)
 #define FD_SETSIZE 1024
-#include <windows.h>
 
 #ifdef __MINGW32__
 #include <winsock2.h>
 
 #endif
 
+#include <windows.h>
+
 #elif defined(VMS)
 #define FD_SETSIZE 4096
 #ifndef IN_RTS