I also get a MinGW compiler warning that winsock2.h should be included before windows.h from this file in current master.

<pre>
d:\mingw\mingw32\i686-w64-mingw32\include\winsock2.h:15: Warnung:#warning Please include winsock2.h before windows.h [-Wcpp]
 #warning Please include winsock2.h before windows.h
  ^
</pre>