From: Tom Lane Date: Sun, 12 Feb 2023 18:06:37 +0000 (-0500) Subject: Make pg_bsd_indent's .h files inclusion-order-safe. X-Git-Tag: REL_16_BETA1~738 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ded4a5a3de1e8d5f3ec50efd4a2d7a39d2550a6;p=thirdparty%2Fpostgresql.git Make pg_bsd_indent's .h files inclusion-order-safe. As-is, they failed headerscheck. Per buildfarm. --- diff --git a/src/tools/pg_bsd_indent/indent.h b/src/tools/pg_bsd_indent/indent.h index d9fff8ccd6d..e9e71d667d8 100644 --- a/src/tools/pg_bsd_indent/indent.h +++ b/src/tools/pg_bsd_indent/indent.h @@ -30,6 +30,8 @@ __FBSDID("$FreeBSD: head/usr.bin/indent/indent.h 303746 2016-08-04 15:27:09Z pfg #define nitems(x) (sizeof((x)) / sizeof((x)[0])) +struct parser_state; /* allow forward reference */ + void add_typename(const char *); void alloc_typenames(void); int compute_code_target(void);