aboutsummaryrefslogtreecommitdiff
path: root/gdb/m32r-rom.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2010-09-14 08:01:12 +0000
committerPierre Muller <muller@sourceware.org>2010-09-14 08:01:12 +0000
commitb467f5808f09f3ea29463fe140c7b2520f00eaf8 (patch)
tree51df8ffba478112e7aee84763861f3e8febb83d7 /gdb/m32r-rom.c
parentb29607b4e71c2f23a303611814ba01ad4146e5ff (diff)
downloadgdb-b467f5808f09f3ea29463fe140c7b2520f00eaf8.zip
gdb-b467f5808f09f3ea29463fe140c7b2520f00eaf8.tar.gz
gdb-b467f5808f09f3ea29463fe140c7b2520f00eaf8.tar.bz2
* m32r-rom.c: Replace winsock.h with winsock2.h header.
* remote-m32r-sdi.c: Replace winsock.h by winsock2.h.
Diffstat (limited to 'gdb/m32r-rom.c')
-rw-r--r--gdb/m32r-rom.c2
1 files changed, 1 insertions, 1 deletions
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 */