* 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 098406044e5a507306f3b98fddd2d1eca88493c0..75c5bfe7af73c662e038d5337ce07e28c6128d46 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 4ed304fde4bec8cedfc946c7d912600036a35e5e..1e4e698eb2c00a05b2fc9320cbadab8af481e35a 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 a1e88fbb45923f07e24339ca2ea8dfba17a4a43b..85aa1b87b745f57edd8b31e03827bbb8a2fcaa5c 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