commit | 4b3e5e1de82efda8ba2ac1aba311dac9befed6a4 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Nov 05 05:05:38 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Nov 05 05:05:38 2019 +0000 |
tree | aa24bfc65824350bfea0fd53e9d2948dfc7a4298 | |
parent | 50e102c51d5ad31e51d2cef9647e0ae0df2fa2d0 [diff] | |
parent | f1b255a6ad52f7a01cb34fb71ecdddc9c539d51f [diff] |
Merge "Darwin: include <libgen.h> for basename(3)."
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>