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