summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguenther <>2016-08-27 04:29:25 +0000
committerguenther <>2016-08-27 04:29:25 +0000
commit457a75567fa27efa403ccde0e21b7add05b1bfb8 (patch)
treef6e1569126a87fb4e2e5fea56005c91c431569b5
parent6f037e561cb6d390a708962b877caf17a94656e8 (diff)
downloadopenbsd-457a75567fa27efa403ccde0e21b7add05b1bfb8.tar.gz
openbsd-457a75567fa27efa403ccde0e21b7add05b1bfb8.tar.bz2
openbsd-457a75567fa27efa403ccde0e21b7add05b1bfb8.zip
Pull in <stdio.h> for NULL
ok deraadt@
-rw-r--r--src/regress/lib/libc/ifnameindex/ifnitest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regress/lib/libc/ifnameindex/ifnitest.c b/src/regress/lib/libc/ifnameindex/ifnitest.c
index 61102f77a9..512f90e24d 100644
--- a/src/regress/lib/libc/ifnameindex/ifnitest.c
+++ b/src/regress/lib/libc/ifnameindex/ifnitest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ifnitest.c,v 1.1 2015/10/22 15:47:00 claudio Exp $ */ 1/* $OpenBSD: ifnitest.c,v 1.2 2016/08/27 04:29:25 guenther Exp $ */
2 2
3/* Public domain. 2015, Claudio Jeker */ 3/* Public domain. 2015, Claudio Jeker */
4 4
@@ -6,6 +6,7 @@
6#include <sys/socket.h> 6#include <sys/socket.h>
7#include <net/if.h> 7#include <net/if.h>
8#include <err.h> 8#include <err.h>
9#include <stdio.h>
9 10
10int 11int
11main(int argc, char *argv[]) 12main(int argc, char *argv[])