diff --git a/src/ChangeLog b/src/ChangeLog index 5186f0c0..2b82006d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2011-04-04 Giuseppe Scrivano + * host.c [WINDOWS]: Include and . + Suggested by: Ray Satiro . + * Makefile.am (LIBS): Remove @LIBSSL@ @W32LIBS@ 2011-04-03 Giuseppe Scrivano diff --git a/src/host.c b/src/host.c index 2efe93a9..34dc7084 100644 --- a/src/host.c +++ b/src/host.c @@ -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 +# include # define SET_H_ERRNO(err) WSASetLastError (err) #endif /* WINDOWS */