summaryrefslogtreecommitdiff
path: root/usr.bin/ypcat/ypcat.c
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2003-07-10 00:06:53 +0000
committerDavid Krause <david@cvs.openbsd.org>2003-07-10 00:06:53 +0000
commitff1eebe32bb029e20710e7ca1756911d42d46fbf (patch)
tree009ea3b0cb6633dd34add944159e34a4915266d3 /usr.bin/ypcat/ypcat.c
parent6c3b78320db59d66733755dd77e5d095dec46f61 (diff)
add missing includes
ok deraadt@ tedu@
Diffstat (limited to 'usr.bin/ypcat/ypcat.c')
-rw-r--r--usr.bin/ypcat/ypcat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ypcat/ypcat.c b/usr.bin/ypcat/ypcat.c
index 80294f8248d..0e1d1057f67 100644
--- a/usr.bin/ypcat/ypcat.c
+++ b/usr.bin/ypcat/ypcat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypcat.c,v 1.10 2003/07/02 21:04:10 deraadt Exp $ */
+/* $OpenBSD: ypcat.c,v 1.11 2003/07/10 00:06:52 david Exp $ */
/*
* Copyright (c) 1992, 1993, 1996 Theo de Raadt <deraadt@theos.com>
@@ -27,7 +27,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: ypcat.c,v 1.10 2003/07/02 21:04:10 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ypcat.c,v 1.11 2003/07/10 00:06:52 david Exp $";
#endif
#include <sys/param.h>
@@ -36,6 +36,7 @@ static char rcsid[] = "$OpenBSD: ypcat.c,v 1.10 2003/07/02 21:04:10 deraadt Exp
#include <unistd.h>
#include <string.h>
#include <stdio.h>
+#include <stdlib.h>
#include <ctype.h>
#include <rpc/rpc.h>