* m32r-rom.c: Replace winsock.h with winsock2.h header.
authorPierre Muller <muller@sourceware.org>
Tue, 14 Sep 2010 08:01:12 +0000 (08:01 +0000)
committerPierre Muller <muller@sourceware.org>
Tue, 14 Sep 2010 08:01:12 +0000 (08:01 +0000)
* remote-m32r-sdi.c: Replace winsock.h by winsock2.h.

gdb/ChangeLog
gdb/m32r-rom.c
gdb/remote-m32r-sdi.c

index 0984060..75c5bfe 100644 (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:
index 4ed304f..1e4e698 100644 (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 */
index a1e88fb..85aa1b8 100644 (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