summaryrefslogtreecommitdiff
path: root/resolv/getnetnamadr.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/getnetnamadr.c')
-rw-r--r--resolv/getnetnamadr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/resolv/getnetnamadr.c b/resolv/getnetnamadr.c
index 9739995e36..8e503dae12 100644
--- a/resolv/getnetnamadr.c
+++ b/resolv/getnetnamadr.c
@@ -44,6 +44,7 @@ static char sccsid_[] = "from getnetnamadr.c 1.4 (Coimbra) 93/06/03";
static char rcsid[] = "$Id$";
#endif /* LIBC_SCCS and not lint */
+#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>