Commit 09e4858b authored by Rusty Russell's avatar Rusty Russell

Joey's patch to ignore ccan/ lines in #include.

parent 02336bbc
......@@ -112,6 +112,10 @@ static char **get_one_safe_deps(const void *ctx,
char *str;
unsigned int len;
/* Ignore lines starting with # (e.g. #include) */
if (lines[i][0] == '#')
continue;
/* Start of line, or after ". */
if (strstarts(lines[i], "ccan/"))
str = lines[i];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment