X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Frun_tests.c;h=4506963589f432a5836f704e274eefd85bd1abc7;hp=b9a6f66c4cd910acf6d4db0ff6f13e16be86b726;hb=33dfc0abb7a9d2c422246be5f8def438b63a0bb2;hpb=cc1e3419b6c5e4abf1b99b0094bc3e134356525e diff --git a/tools/run_tests.c b/tools/run_tests.c index b9a6f66c..45069635 100644 --- a/tools/run_tests.c +++ b/tools/run_tests.c @@ -6,7 +6,7 @@ #include #include "ccan/tap/tap.h" #include "ccan/talloc/talloc.h" -#include "ccan/string/string.h" +#include "ccan/str/str.h" #include "tools.h" /* FIXME: Use build bug later. */ @@ -106,7 +106,7 @@ static int build(const char *dir, const char *name, int fail) char *externals = talloc_strdup(name, ""); char **deps; - for (deps = get_deps(talloc_autofree_context(), dir); *deps; deps++) { + for (deps = get_deps(talloc_autofree_context(), dir, true); *deps; deps++) { if (!strstarts(*deps, "ccan/")) continue;