summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv/stdhosts/stdhosts.c
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2003-07-18 22:58:57 +0000
committerDavid Krause <david@cvs.openbsd.org>2003-07-18 22:58:57 +0000
commita97d0cab218a8e2bcb331016bbb793706258cd7c (patch)
tree43715f40b8a124b9280ecb54912cdeb90da2848b /usr.sbin/ypserv/stdhosts/stdhosts.c
parentf5ba9debe12b4a1d0d88e46e78e8601c76b248d8 (diff)
add missing includes
ok tedu@
Diffstat (limited to 'usr.sbin/ypserv/stdhosts/stdhosts.c')
-rw-r--r--usr.sbin/ypserv/stdhosts/stdhosts.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ypserv/stdhosts/stdhosts.c b/usr.sbin/ypserv/stdhosts/stdhosts.c
index 21b9cda0291..31da8cfef2b 100644
--- a/usr.sbin/ypserv/stdhosts/stdhosts.c
+++ b/usr.sbin/ypserv/stdhosts/stdhosts.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdhosts.c,v 1.11 2003/06/02 21:58:26 maja Exp $ */
+/* $OpenBSD: stdhosts.c,v 1.12 2003/07/18 22:58:56 david Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
@@ -27,7 +27,7 @@
*/
#ifndef LINT
-static const char rcsid[] = "$OpenBSD: stdhosts.c,v 1.11 2003/06/02 21:58:26 maja Exp $";
+static const char rcsid[] = "$OpenBSD: stdhosts.c,v 1.12 2003/07/18 22:58:56 david Exp $";
#endif
#include <sys/types.h>
@@ -35,6 +35,7 @@ static const char rcsid[] = "$OpenBSD: stdhosts.c,v 1.11 2003/06/02 21:58:26 maj
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <err.h>