summaryrefslogtreecommitdiff
path: root/openbsd-compat/fake-getnameinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/fake-getnameinfo.c')
-rw-r--r--openbsd-compat/fake-getnameinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/fake-getnameinfo.c b/openbsd-compat/fake-getnameinfo.c
index 203621f0d..e255ed333 100644
--- a/openbsd-compat/fake-getnameinfo.c
+++ b/openbsd-compat/fake-getnameinfo.c
@@ -12,6 +12,8 @@
12#include "includes.h" 12#include "includes.h"
13#include "ssh.h" 13#include "ssh.h"
14 14
15RCSID("$Id: fake-getnameinfo.c,v 1.2 2001/02/09 01:55:36 djm Exp $");
16
15#ifndef HAVE_GETNAMEINFO 17#ifndef HAVE_GETNAMEINFO
16int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, 18int getnameinfo(const struct sockaddr *sa, size_t salen, char *host,
17 size_t hostlen, char *serv, size_t servlen, int flags) 19 size_t hostlen, char *serv, size_t servlen, int flags)