diff options
Diffstat (limited to 'openbsd-compat/port-aix.c')
-rw-r--r-- | openbsd-compat/port-aix.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c index 33be00c2b..6fd593aad 100644 --- a/openbsd-compat/port-aix.c +++ b/openbsd-compat/port-aix.c | |||
@@ -34,6 +34,9 @@ | |||
34 | #ifdef _AIX | 34 | #ifdef _AIX |
35 | 35 | ||
36 | #include <errno.h> | 36 | #include <errno.h> |
37 | #if defined(HAVE_NETDB_H) | ||
38 | # include <netdb.h> | ||
39 | #endif | ||
37 | #include <uinfo.h> | 40 | #include <uinfo.h> |
38 | #include <sys/socket.h> | 41 | #include <sys/socket.h> |
39 | #include "port-aix.h" | 42 | #include "port-aix.h" |