diff options
author | Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> | 2006-04-19 06:36:37 +0000 |
---|---|---|
committer | Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> | 2006-04-19 06:36:37 +0000 |
commit | cbba9205ada30ff191b4fad2936986f9b293d3ce (patch) | |
tree | c0cc8251d93a66c9ecab039671712e3de5079de5 /gdb/remote-m32r-sdi.c | |
parent | 7c6646cd4bb737511abda361b27386a8a77a1147 (diff) | |
download | binutils-gdb-cbba9205ada30ff191b4fad2936986f9b293d3ce.tar.gz |
2006-04-19 Masaki Muranaka <monaka@monami-software.com>
* m32r-rom.c: On MinGW, include winsock.h instead of sys/types.h,
netdb.h, netinet/in.h.
(m32r_upload_command); Add calls WSAStartup().
* remote-m32r-sdi.c: On MinGW, include winsock.h instead of
netinet/in.h.
Diffstat (limited to 'gdb/remote-m32r-sdi.c')
-rw-r--r-- | gdb/remote-m32r-sdi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/remote-m32r-sdi.c b/gdb/remote-m32r-sdi.c index 8da4fd3023a..b2033166de3 100644 --- a/gdb/remote-m32r-sdi.c +++ b/gdb/remote-m32r-sdi.c @@ -31,7 +31,11 @@ #include "gdb_string.h" #include <ctype.h> #include <signal.h> +#ifdef __MINGW32__ +#include <winsock.h> +#else #include <netinet/in.h> +#endif #include <sys/types.h> #include <sys/time.h> #include <signal.h> |