summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguenther <>2016-08-27 04:29:25 +0000
committerguenther <>2016-08-27 04:29:25 +0000
commit27c2f92048c29139887390c722c8a15374598aa7 (patch)
treef6e1569126a87fb4e2e5fea56005c91c431569b5
parentb4b57eb12b0e13327e453339091638ddfa9f4580 (diff)
downloadopenbsd-27c2f92048c29139887390c722c8a15374598aa7.tar.gz
openbsd-27c2f92048c29139887390c722c8a15374598aa7.tar.bz2
openbsd-27c2f92048c29139887390c722c8a15374598aa7.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[])