summaryrefslogtreecommitdiff
path: root/resolv/inet_addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/inet_addr.c')
-rw-r--r--resolv/inet_addr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/resolv/inet_addr.c b/resolv/inet_addr.c
index 2caf747acf..3452672a0a 100644
--- a/resolv/inet_addr.c
+++ b/resolv/inet_addr.c
@@ -58,6 +58,7 @@ static char sccsid[] = "@(#)inet_addr.c 8.1 (Berkeley) 6/17/93";
static char rcsid[] = "$Id$";
#endif /* LIBC_SCCS and not lint */
+#include <sys/types.h>
#include <sys/param.h>
#include <netinet/in.h>
#include <arpa/inet.h>