artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07c8d45
)
Pull in <stdio.h> for NULL
author
guenther
<guenther@openbsd.org>
Sat, 27 Aug 2016 03:55:43 +0000
(
03:55
+0000)
committer
guenther
<guenther@openbsd.org>
Sat, 27 Aug 2016 03:55:43 +0000
(
03:55
+0000)
ok deraadt@
lib/libc/gen/uname.c
patch
|
blob
|
history
diff --git
a/lib/libc/gen/uname.c
b/lib/libc/gen/uname.c
index
ac40802
..
10dc0d8
100644
(file)
--- a/
lib/libc/gen/uname.c
+++ b/
lib/libc/gen/uname.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: uname.c,v 1.1
0 2015/01/16 16:48:51 deraadt
Exp $ */
+/* $OpenBSD: uname.c,v 1.1
1 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 */