Otherwise, _GNU_SOURCE isn't defined (for example) so prototypes such as isblank can be missing.
@@ -1,5 +1,6 @@
#ifndef CCAN_LINT_H
#define CCAN_LINT_H
+#include "config.h"
#include <ccan/list/list.h>
#include <stdbool.h>
#include "../doc_extract.h"
@@ -1,5 +1,5 @@
-#include <ccan/talloc/talloc.h>
#include <ccan/str/str.h>
+#include <ccan/talloc/talloc.h>
#include <ccan/grab_file/grab_file.h>
#include <ccan/str_talloc/str_talloc.h>
#include <ccan/read_write_all/read_write_all.h>
@@ -1,4 +1,7 @@
/* This merely extracts, doesn't do XML or anything. */
+#include <ccan/str/str.h>
+#include <ccan/str_talloc/str_talloc.h>
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
@@ -9,9 +12,6 @@
#include <fcntl.h>
#include <ctype.h>
-#include <ccan/str/str.h>
-#include <ccan/str_talloc/str_talloc.h>
#include "doc_extract.h"
#include "tools.h"