* 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

@ -1,3 +1,8 @@
2010-09-14 Pierre Muller <muller@ics.u-strasbg.fr>
* m32r-rom.c: Replace winsock.h with winsock2.h header.
* remote-m32r-sdi.c: Replace winsock.h by winsock2.h.
2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
PR symtab/11992:

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 */

View File

@ -32,7 +32,7 @@
#include <ctype.h>
#include <signal.h>
#ifdef __MINGW32__
#include <winsock.h>
#include <winsock2.h>
#else
#include <netinet/in.h>
#endif