title: I cannot include winsock2.h using MinGW
body: <p>I'm using Qt Creator with MinGW.</p>
  
  <p>I included "windows.h" and compile it, but it failed. Errors are below:</p>
  
  <pre><code>In file included from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/windows.h:98:0,
               from util/IdleDetector.h:8,
               from service\PresenceService.cpp:8:
  c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:771:22: error:     expected unqualified-id before string constant
  c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:1034:95: error: expected identifier before string constant
  c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/winsock2.h:1034:95: error: expected ',' or '...' before string constant
  </code></pre>
  
  <p>I thought that the MinGW path was missing, but that's not the case. How can I fix this?</p>