commit | d983556e3249aa8b54cc121c25642333c21af086 | [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 | fe14a9ce904aec036fc122b989c68fc4998789d4 | |
parent | 9b4703aaa1f784ce4d4b4fbabc7e798fa9e70200 [diff] [blame] |
Darwin: include <libgen.h> for basename(3). Test: treehugger Change-Id: I11858430f13cbb22895c9dd0befb8054308efb19
diff --git a/unzip.cpp b/unzip.cpp index 7332b41..e4839b4 100644 --- a/unzip.cpp +++ b/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>