commit | 6ecf28c3fb0d5806c127b0bc66494c85bd2f245e | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Nov 05 01:25:38 2019 -0800 |
committer | android-build-merger <android-build-merger@google.com> | Tue Nov 05 01:25:38 2019 -0800 |
tree | aa24bfc65824350bfea0fd53e9d2948dfc7a4298 | |
parent | b4df46410d9695ea7b07eef6225f2da6ca66bf27 [diff] | |
parent | 167c19b5565f17b2646f13a573ae46fffce5c502 [diff] |
Merge "Darwin: include <libgen.h> for basename(3)." am: 4b3e5e1de8 am: 167c19b556 Change-Id: Ib32f444aaaf049d1a8a36855ec09c688c0e2ccb5
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>