From d904b0af22db9828c09c6d48db2c1c10fc52eccb Mon Sep 17 00:00:00 2001 From: Eric Faurot Date: Wed, 26 Mar 2014 18:13:16 +0000 Subject: Make the asr API public. Install asr.h to /usr/include.h and manpages. Include tweaks suggested by mpi@ ok deraadt@ --- lib/libc/asr/getnameinfo.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/libc/asr/getnameinfo.c') diff --git a/lib/libc/asr/getnameinfo.c b/lib/libc/asr/getnameinfo.c index 4ca82dae098..60b5b17ceb6 100644 --- a/lib/libc/asr/getnameinfo.c +++ b/lib/libc/asr/getnameinfo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getnameinfo.c,v 1.4 2014/03/25 19:48:11 eric Exp $ */ +/* $OpenBSD: getnameinfo.c,v 1.5 2014/03/26 18:13:15 eric Exp $ */ /* * Copyright (c) 2012 Eric Faurot * @@ -16,13 +16,14 @@ */ #include +#include #include +#include +#include #include #include -#include "asr.h" - int getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags) -- cgit v1.2.3