summaryrefslogtreecommitdiff
path: root/wtree.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-06 17:55:31 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-06 17:55:31 -0800
commitca502149fb2abad58446ebf234aa5e1e40ed4517 (patch)
treedc8e6e51e2d9ee15d9b247402497e10747c13de3 /wtree.c
parent2f248e96dcde3be96c21142c032f517aa5a06554 (diff)
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 <alan.coopersmith@oracle.com>
Diffstat (limited to 'wtree.c')
-rw-r--r--wtree.c4
1 files changed, 4 insertions, 0 deletions
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 <stdio.h>
#include <X11/Intrinsic.h>
#include <X11/Xutil.h>