diff options
Diffstat (limited to 'openbsd-compat/fake-rfc2553.c')
-rw-r--r-- | openbsd-compat/fake-rfc2553.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) |