|
@@ -112,6 +112,10 @@ static char **get_one_safe_deps(const void *ctx,
|
|
|
char *str;
|
|
char *str;
|
|
|
unsigned int len;
|
|
unsigned int len;
|
|
|
|
|
|
|
|
|
|
+ /* Ignore lines starting with # (e.g. #include) */
|
|
|
|
|
+ if (lines[i][0] == '#')
|
|
|
|
|
+ continue;
|
|
|
|
|
+
|
|
|
/* Start of line, or after ". */
|
|
/* Start of line, or after ". */
|
|
|
if (strstarts(lines[i], "ccan/"))
|
|
if (strstarts(lines[i], "ccan/"))
|
|
|
str = lines[i];
|
|
str = lines[i];
|