#include <unistd.h>
#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. */
char *externals = talloc_strdup(name, "");
char **deps;
- for (deps = get_deps(objs, dir); *deps; deps++) {
+ for (deps = get_deps(talloc_autofree_context(), dir, true); *deps; deps++) {
if (!strstarts(*deps, "ccan/"))
continue;