* configure.ac: Use `ws2_32' library for srv_mingw.
authorPierre Muller <muller@sourceware.org>
Sat, 17 Apr 2010 20:43:13 +0000 (20:43 +0000)
committerPierre Muller <muller@sourceware.org>
Sat, 17 Apr 2010 20:43:13 +0000 (20:43 +0000)
* configure: Regenerate.
* gdbreplay.c: Include winsock2.h instead of winsock.h.
* remote-utils.c: Likewise.

gdb/gdbserver/ChangeLog
gdb/gdbserver/configure
gdb/gdbserver/configure.ac
gdb/gdbserver/gdbreplay.c
gdb/gdbserver/remote-utils.c

index 49e6bb661ac32b9526ae2a10a72aeaccfa3f4d79..842f2fac27f12c32d499c2cb69502eea9d535d18 100644 (file)
@@ -1,3 +1,10 @@
+2010-04-17  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * configure.ac: Use `ws2_32' library for srv_mingw.
+       * configure: Regenerate.
+       * gdbreplay.c: Include winsock2.h instead of winsock.h.
+       * remote-utils.c: Likewise.
+
 2010-04-17  H.J. Lu  <hongjiu.lu@intel.com>
 
        * linux-x86-low.c (xmltarget_amd64_linux_no_xml): Define only
index dba6a9126324ba16d8e228a9d99376ea7edcc9b3..8db886155a8039e72da59e6661aa594f6e378c08 100755 (executable)
@@ -4056,7 +4056,7 @@ esac
 if test "${srv_mingwce}" = "yes"; then
   LIBS="$LIBS -lws2"
 elif test "${srv_mingw}" = "yes"; then
-  LIBS="$LIBS -lwsock32"
+  LIBS="$LIBS -lws2_32"
 elif test "${srv_qnx}" = "yes"; then
   LIBS="$LIBS -lsocket"
 fi
index f86291889c15d0282fff2fb151a82c6615811b70..a2dfa372546dfa25dffedd20162d863781108689 100644 (file)
@@ -118,7 +118,7 @@ esac
 if test "${srv_mingwce}" = "yes"; then
   LIBS="$LIBS -lws2"
 elif test "${srv_mingw}" = "yes"; then
-  LIBS="$LIBS -lwsock32"
+  LIBS="$LIBS -lws2_32"
 elif test "${srv_qnx}" = "yes"; then
   LIBS="$LIBS -lsocket"
 fi
index 6ce00b3e2242580c1a307e296b479bb40e006809..a128413c478c0669cb55412245b696a9a4a67722 100644 (file)
@@ -59,7 +59,7 @@
 #endif
 
 #if USE_WIN32API
-#include <winsock.h>
+#include <winsock2.h>
 #endif
 
 #ifndef HAVE_SOCKLEN_T
index 6a93c3ae20c254aa1b167f8e429fae9c72c8cef1..ae04d1358871aada5153be097d36e71334f5b973 100644 (file)
@@ -63,7 +63,7 @@
 #endif
 
 #if USE_WIN32API
-#include <winsock.h>
+#include <winsock2.h>
 #endif
 
 #if __QNX__