From ca502149fb2abad58446ebf234aa5e1e40ed4517 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 6 Feb 2023 17:55:31 -0800 Subject: Ensure all *.c files include config.h before any other headers Makes sure that any flags set in config.h that affect system headers are applied equally across all source files. Signed-off-by: Alan Coopersmith --- wtree.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wtree.c') diff --git a/wtree.c b/wtree.c index e36c3b8..b53b024 100644 --- a/wtree.c +++ b/wtree.c @@ -23,6 +23,10 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include -- cgit v1.2.3