summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--openbsd-compat/fake-rfc2553.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ce2ee60d9..ec6294787 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
12420060804 12520060804
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
42int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, 45int 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)