summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 03:55:44 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-27 03:55:44 +0000
commit3390e85214598b099110dc6aef96a2d27754b980 (patch)
tree9a4eb7b93cafc102e15f0d9eea9eccb14303dadd /lib
parentab955f9e02fcffd313130f5863b47e1d6990c906 (diff)
Pull in <stdio.h> for NULL
ok deraadt@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/uname.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/uname.c b/lib/libc/gen/uname.c
index ac40802713e..10dc0d8aae6 100644
--- a/lib/libc/gen/uname.c
+++ b/lib/libc/gen/uname.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uname.c,v 1.10 2015/01/16 16:48:51 deraadt Exp $ */
+/* $OpenBSD: uname.c,v 1.11 2016/08/27 03:55:43 guenther Exp $ */
/*-
* Copyright (c) 1994
* The Regents of the University of California. All rights reserved.
@@ -31,6 +31,7 @@
#include <sys/types.h>
#include <sys/sysctl.h>
#include <sys/utsname.h>
+#include <stdio.h> /* for NULL */
/* A slightly modified copy of this file exists in libexec/ld.so */