summaryrefslogtreecommitdiff
path: root/CutPaste.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-05 18:01:35 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-05 18:01:35 -0800
commitda8af2618143577c36ba7fe7656bb6e296616438 (patch)
treec4c116f4cfb57244283115e731af98914aed7c16 /CutPaste.c
parentaf15f44aabf3fccf096e04d73f4e6e2fd8ca3771 (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 'CutPaste.c')
-rw-r--r--CutPaste.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/CutPaste.c b/CutPaste.c
index 49d6f9c..7bd92c7 100644
--- a/CutPaste.c
+++ b/CutPaste.c
@@ -30,6 +30,10 @@ from The Open Group.
* Author: Davor Matic, MIT X Consortium
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
#include <X11/Xatom.h>