diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-02-06 17:55:31 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-02-06 17:55:31 -0800 |
commit | ca502149fb2abad58446ebf234aa5e1e40ed4517 (patch) | |
tree | dc8e6e51e2d9ee15d9b247402497e10747c13de3 | |
parent | 2f248e96dcde3be96c21142c032f517aa5a06554 (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>
-rw-r--r-- | actions.c | 4 | ||||
-rw-r--r-- | comm.c | 4 | ||||
-rw-r--r-- | editres.c | 4 | ||||
-rw-r--r-- | geometry.c | 4 | ||||
-rw-r--r-- | handler.c | 4 | ||||
-rw-r--r-- | setvalues.c | 4 | ||||
-rw-r--r-- | svpopup.c | 4 | ||||
-rw-r--r-- | utils.c | 4 | ||||
-rw-r--r-- | widgets.c | 4 | ||||
-rw-r--r-- | wtree.c | 4 |
10 files changed, 40 insertions, 0 deletions
@@ -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 <stdlib.h> #include <X11/Intrinsic.h> @@ -32,6 +32,10 @@ from The Open Group. * being edited. */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include <X11/Intrinsic.h> #include <X11/StringDefs.h> /* Get standard string definitions. */ #include <X11/Xatom.h> @@ -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 <stdlib.h> #include <X11/Intrinsic.h> @@ -25,6 +25,10 @@ in this Software without prior written authorization from The Open Group. * Author: Chris D. Peterson, MIT X Consortium */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include <X11/Intrinsic.h> #include <X11/StringDefs.h> #include <X11/Shell.h> @@ -24,6 +24,10 @@ in this Software without prior written authorization from The Open Group. */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include <X11/Intrinsic.h> #include <X11/StringDefs.h> diff --git a/setvalues.c b/setvalues.c index 95df80b..640f4fa 100644 --- a/setvalues.c +++ b/setvalues.c @@ -25,6 +25,10 @@ in this Software without prior written authorization from The Open Group. * Author: Chris D. Peterson, MIT X Consortium */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include <X11/Intrinsic.h> #include <X11/StringDefs.h> #include <X11/Xresource.h> @@ -25,6 +25,10 @@ in this Software without prior written authorization from The Open Group. * Author: Chris D. Peterson, MIT X Consortium */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include <X11/Intrinsic.h> #include <X11/StringDefs.h> /* Get standard string definitions. */ #include <X11/Xatom.h> @@ -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 <X11/Intrinsic.h> #include <X11/Xutil.h> #include <X11/Xos.h> @@ -27,6 +27,10 @@ in this Software without prior written authorization from The Open Group. * Code for creating all widgets used by EditRes. */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include <stdio.h> #include <X11/Intrinsic.h> #include <X11/StringDefs.h> /* Get standard string definitions. */ @@ -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> |