diff options
-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 @@ | |||
120 | Typo in comment | 120 | Typo in comment |
121 | - (dtucker) [openbsd-compat/bsd-cygwin_util.c] Add headers required to compile | 121 | - (dtucker) [openbsd-compat/bsd-cygwin_util.c] Add headers required to compile |
122 | on Cygwin. | 122 | on Cygwin. |
123 | - (dtucker) [openbsd-compat/fake-rfc2553.c] Add headers needed for inet_ntoa. | ||
123 | 124 | ||
124 | 20060804 | 125 | 20060804 |
125 | - (dtucker) [configure.ac] The "crippled AES" test does not work on recent | 126 | - (dtucker) [configure.ac] The "crippled AES" test does not work on recent |
@@ -5190,4 +5191,4 @@ | |||
5190 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 5191 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
5191 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 5192 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
5192 | 5193 | ||
5193 | $Id: ChangeLog,v 1.4470 2006/08/05 09:08:16 dtucker Exp $ | 5194 | $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 08a7cb66c..b69f7f13f 100644 --- a/openbsd-compat/fake-rfc2553.c +++ b/openbsd-compat/fake-rfc2553.c | |||
@@ -38,6 +38,9 @@ | |||
38 | #include "includes.h" | 38 | #include "includes.h" |
39 | #include <string.h> | 39 | #include <string.h> |
40 | 40 | ||
41 | #include <netinet/in.h> | ||
42 | #include <arpa/inet.h> | ||
43 | |||
41 | #ifndef HAVE_GETNAMEINFO | 44 | #ifndef HAVE_GETNAMEINFO |
42 | int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, | 45 | int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, |
43 | size_t hostlen, char *serv, size_t servlen, int flags) | 46 | size_t hostlen, char *serv, size_t servlen, int flags) |