summaryrefslogtreecommitdiff
path: root/usr.bin/uname/uname.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/uname/uname.c
parent6c3b78320db59d66733755dd77e5d095dec46f61 (diff)
add missing includes
ok deraadt@ tedu@
Diffstat (limited to 'usr.bin/uname/uname.c')
-rw-r--r--usr.bin/uname/uname.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/uname/uname.c b/usr.bin/uname/uname.c
index 304d77af606..bed785a6b36 100644
--- a/usr.bin/uname/uname.c
+++ b/usr.bin/uname/uname.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uname.c,v 1.7 2003/07/02 20:23:15 deraadt Exp $ */
+/* $OpenBSD: uname.c,v 1.8 2003/07/10 00:06:51 david Exp $ */
/*
* Copyright (c) 1994 Winning Strategies, Inc.
@@ -32,11 +32,12 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: uname.c,v 1.7 2003/07/02 20:23:15 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: uname.c,v 1.8 2003/07/10 00:06:51 david Exp $";
#endif /* not lint */
#include <sys/param.h>
#include <stdio.h>
+#include <stdlib.h>
#include <locale.h>
#include <unistd.h>
#include <sys/utsname.h>