summaryrefslogtreecommitdiffstats
path: root/regress/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-08-27 04:29:25 +0000
committerguenther <guenther@openbsd.org>2016-08-27 04:29:25 +0000
commit26eaa2d1bac85dc4c56c78085cf20aeb51a4f46e (patch)
tree9a003d1c6a26e77b744f01a6141c9065e590be38 /regress/lib/libc
parentPull in <sys/select.h> for fd_set (diff)
downloadwireguard-openbsd-26eaa2d1bac85dc4c56c78085cf20aeb51a4f46e.tar.xz
wireguard-openbsd-26eaa2d1bac85dc4c56c78085cf20aeb51a4f46e.zip
Pull in <stdio.h> for NULL
ok deraadt@
Diffstat (limited to 'regress/lib/libc')
-rw-r--r--regress/lib/libc/ifnameindex/ifnitest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/lib/libc/ifnameindex/ifnitest.c b/regress/lib/libc/ifnameindex/ifnitest.c
index 61102f77a96..512f90e24d6 100644
--- a/regress/lib/libc/ifnameindex/ifnitest.c
+++ b/regress/lib/libc/ifnameindex/ifnitest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifnitest.c,v 1.1 2015/10/22 15:47:00 claudio Exp $ */
+/* $OpenBSD: ifnitest.c,v 1.2 2016/08/27 04:29:25 guenther Exp $ */
/* Public domain. 2015, Claudio Jeker */
@@ -6,6 +6,7 @@
#include <sys/socket.h>
#include <net/if.h>
#include <err.h>
+#include <stdio.h>
int
main(int argc, char *argv[])