diff options
author | jsg <> | 2017-02-25 07:28:32 +0000 |
---|---|---|
committer | jsg <> | 2017-02-25 07:28:32 +0000 |
commit | 934315404d85741a9a7d8aa633e0a32ad3fdc235 (patch) | |
tree | a0c60b59c92178da9cae05c466c9bb7f3f1623b9 /src/regress/lib/libc/ifnameindex | |
parent | a81f78972dfa24aa2335b2dbacc331260359a43e (diff) | |
download | openbsd-934315404d85741a9a7d8aa633e0a32ad3fdc235.tar.gz openbsd-934315404d85741a9a7d8aa633e0a32ad3fdc235.tar.bz2 openbsd-934315404d85741a9a7d8aa633e0a32ad3fdc235.zip |
Add missing includes to avoid implicit function declarations.
Diffstat (limited to 'src/regress/lib/libc/ifnameindex')
-rw-r--r-- | src/regress/lib/libc/ifnameindex/ifnitest.c | 3 |
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 512f90e24d..fb7ed3704f 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.2 2016/08/27 04:29:25 guenther Exp $ */ | 1 | /* $OpenBSD: ifnitest.c,v 1.3 2017/02/25 07:28:32 jsg Exp $ */ |
2 | 2 | ||
3 | /* Public domain. 2015, Claudio Jeker */ | 3 | /* Public domain. 2015, Claudio Jeker */ |
4 | 4 | ||
@@ -7,6 +7,7 @@ | |||
7 | #include <net/if.h> | 7 | #include <net/if.h> |
8 | #include <err.h> | 8 | #include <err.h> |
9 | #include <stdio.h> | 9 | #include <stdio.h> |
10 | #include <string.h> | ||
10 | 11 | ||
11 | int | 12 | int |
12 | main(int argc, char *argv[]) | 13 | main(int argc, char *argv[]) |