aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/m32r-rom.c2
-rw-r--r--gdb/remote-m32r-sdi.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0984060..75c5bfe 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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:
diff --git a/gdb/m32r-rom.c b/gdb/m32r-rom.c
index 4ed304f..1e4e698 100644
--- a/gdb/m32r-rom.c
+++ b/gdb/m32r-rom.c
@@ -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 */
diff --git a/gdb/remote-m32r-sdi.c b/gdb/remote-m32r-sdi.c
index a1e88fb..85aa1b8 100644
--- a/gdb/remote-m32r-sdi.c
+++ b/gdb/remote-m32r-sdi.c
@@ -32,7 +32,7 @@
#include <ctype.h>
#include <signal.h>
#ifdef __MINGW32__
-#include <winsock.h>
+#include <winsock2.h>
#else
#include <netinet/in.h>
#endif