commit | 1b1cbd6f52a90360be05c726e0c3b333ddfa0185 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Nov 04 19:27:33 2019 -0800 |
committer | Elliott Hughes <enh@google.com> | Mon Nov 04 19:27:33 2019 -0800 |
tree | 69aed9f49cfa6559c2212e53de87c63433089368 | |
parent | 107bbbff4f7abe5f41242cf1a8b34346272f2e05 [diff] |
Darwin: include <libgen.h> for basename(3). Test: treehugger Change-Id: I11858430f13cbb22895c9dd0befb8054308efb19
diff --git a/libziparchive/unzip.cpp b/libziparchive/unzip.cpp index 7332b41..e4839b4 100644 --- a/libziparchive/unzip.cpp +++ b/libziparchive/unzip.cpp
@@ -19,6 +19,7 @@ #include <fnmatch.h> #include <getopt.h> #include <inttypes.h> +#include <libgen.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h>