summaryrefslogtreecommitdiff
path: root/openbsd-compat/fake-rfc2553.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-08-05 19:18:08 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-08-05 19:18:08 +1000
commit2b4e38b71276ac990a97bcfd0917d2514e85011b (patch)
tree2fca944de3ae93a295ab2765f57a11309230522b /openbsd-compat/fake-rfc2553.c
parent92350103fcf406d054a698ab2ea34feb4bfff6fc (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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsd-compat/fake-rfc2553.c b/openbsd-compat/fake-rfc2553.c
index 08a7cb66..b69f7f13 100644
--- a/openbsd-compat/fake-rfc2553.c
+++ b/openbsd-compat/fake-rfc2553.c
@@ -38,6 +38,9 @@
#include "includes.h"
#include <string.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
#ifndef HAVE_GETNAMEINFO
int getnameinfo(const struct sockaddr *sa, size_t salen, char *host,
size_t hostlen, char *serv, size_t servlen, int flags)