- return compile_object(m, tmpsrc, ccan_dir, "", tmpobj);
-}
-
-static const char *describe_includes_build(struct manifest *m,
- void *check_result)
-{
- return talloc_asprintf(check_result,
- "#include of the main header file:\n"
- "%s", (char *)check_result);
+ if (compile_object(score, tmpsrc, ccan_dir, "", tmpobj, &cmdout)) {
+ score->pass = true;
+ score->score = score->total;
+ } else {
+ score->error = talloc_asprintf(score,
+ "#include of the main header file:\n%s",
+ cmdout);
+ }