diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-08-05 19:18:08 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-08-05 19:18:08 +1000 |
commit | 2b4e38b71276ac990a97bcfd0917d2514e85011b (patch) | |
tree | 2fca944de3ae93a295ab2765f57a11309230522b | |
parent | 92350103fcf406d054a698ab2ea34feb4bfff6fc (diff) |
- (dtucker) [openbsd-compat/fake-rfc2553.c] Add headers needed for inet_ntoa.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | openbsd-compat/fake-rfc2553.c | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -120,6 +120,7 @@ Typo in comment - (dtucker) [openbsd-compat/bsd-cygwin_util.c] Add headers required to compile on Cygwin. + - (dtucker) [openbsd-compat/fake-rfc2553.c] Add headers needed for inet_ntoa. 20060804 - (dtucker) [configure.ac] The "crippled AES" test does not work on recent @@ -5190,4 +5191,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.4470 2006/08/05 09:08:16 dtucker Exp $ +$Id: ChangeLog,v 1.4471 2006/08/05 09:18:08 dtucker Exp $ diff --git a/openbsd-compat/fake-rfc2553.c b/openbsd-compat/fake-rfc2553.c index 08a7cb66..b69f7f13 100644 --- a/openbsd-compat/fake-rfc2553.c +++ b/openbsd-compat/fake-rfc2553.c @@ -38,6 +38,9 @@ #include "includes.h" #include <string.h> +#include <netinet/in.h> +#include <arpa/inet.h> + #ifndef HAVE_GETNAMEINFO int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) |