mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Silent compiler warning under Windows.
This commit is contained in:
parent
1cba1a7659
commit
99e9291da3
@ -1,5 +1,8 @@
|
||||
2011-04-04 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||
|
||||
* host.c [WINDOWS]: Include <winsock2.h> and <ws2tcpip.h>.
|
||||
Suggested by: Ray Satiro <raysatiro@yahoo.com>.
|
||||
|
||||
* Makefile.am (LIBS): Remove @LIBSSL@ @W32LIBS@
|
||||
|
||||
2011-04-03 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||
|
@ -50,6 +50,8 @@ as that of the covered work. */
|
||||
# endif /* def __VMS [else] */
|
||||
# define SET_H_ERRNO(err) ((void)(h_errno = (err)))
|
||||
#else /* WINDOWS */
|
||||
# include <winsock2.h>
|
||||
# include <ws2tcpip.h>
|
||||
# define SET_H_ERRNO(err) WSASetLastError (err)
|
||||
#endif /* WINDOWS */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user