diff options
| author | jsg <> | 2017-02-25 07:28:32 +0000 |
|---|---|---|
| committer | jsg <> | 2017-02-25 07:28:32 +0000 |
| commit | 1b5ee14699cda257fc8117fb47b6272e4195e4e9 (patch) | |
| tree | a0c60b59c92178da9cae05c466c9bb7f3f1623b9 /src/regress/lib/libc/ifnameindex/ifnitest.c | |
| parent | 9ccf8d3f60083ee1f2a236236b5021676bee6445 (diff) | |
| download | openbsd-1b5ee14699cda257fc8117fb47b6272e4195e4e9.tar.gz openbsd-1b5ee14699cda257fc8117fb47b6272e4195e4e9.tar.bz2 openbsd-1b5ee14699cda257fc8117fb47b6272e4195e4e9.zip | |
Add missing includes to avoid implicit function declarations.
Diffstat (limited to 'src/regress/lib/libc/ifnameindex/ifnitest.c')
| -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[]) |
