diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-08-05 19:18:08 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-08-05 19:18:08 +1000 |
commit | 2b4e38b71276ac990a97bcfd0917d2514e85011b (patch) | |
tree | 2fca944de3ae93a295ab2765f57a11309230522b /openbsd-compat/fake-rfc2553.c | |
parent | 92350103fcf406d054a698ab2ea34feb4bfff6fc (diff) |
- (dtucker) [openbsd-compat/fake-rfc2553.c] Add headers needed for inet_ntoa.
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) |