* m32r-rom.c: Replace winsock.h with winsock2.h header.

* remote-m32r-sdi.c: Replace winsock.h by winsock2.h.
This commit is contained in:
Pierre Muller
2010-09-14 08:01:12 +00:00
parent b29607b4e7
commit b467f5808f
3 changed files with 7 additions and 2 deletions

View File

@@ -45,7 +45,7 @@
* All this stuff just to get my host computer's IP address!
*/
#ifdef __MINGW32__
#include <winsock.h>
#include <winsock2.h>
#else
#include <sys/types.h>
#include <netdb.h> /* for hostent */