diff options
| author | Tim Kientzle <kientzle@FreeBSD.org> | 2007-07-31 05:03:27 +0000 |
|---|---|---|
| committer | Tim Kientzle <kientzle@FreeBSD.org> | 2007-07-31 05:03:27 +0000 |
| commit | 9e3fd30bacc9e4d625354e9b461be44616a024af (patch) | |
| tree | b8890daeeb42fc47c0aba66152848c4e9f5f2d7a /lib | |
| parent | 789943cc81ff8a533c53921f37187c0271e5b341 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libarchive/test/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libarchive/test/main.c b/lib/libarchive/test/main.c index 1676e6444647..b64fe75614b8 100644 --- a/lib/libarchive/test/main.c +++ b/lib/libarchive/test/main.c @@ -34,6 +34,12 @@ #include "test.h" __FBSDID("$FreeBSD$"); +/* Interix doesn't define these in a standard header. */ +#if __INTERIX__ +extern char *optarg; +extern int optind; +#endif + /* Default is to crash and try to force a core dump on failure. */ static int dump_on_failure = 1; /* Default is to print some basic information about each test. */ @@ -101,6 +107,7 @@ static const char *skipped_filename; static int skipped_line; void skipping_setup(const char *filename, int line) { + skipped_filename = filename; skipped_line = line; } void |
