diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-02-05 18:01:35 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-02-05 18:01:35 -0800 |
commit | da8af2618143577c36ba7fe7656bb6e296616438 (patch) | |
tree | c4c116f4cfb57244283115e731af98914aed7c16 | |
parent | af15f44aabf3fccf096e04d73f4e6e2fd8ca3771 (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-- | BitEdit.c | 5 | ||||
-rw-r--r-- | Bitmap.c | 4 | ||||
-rw-r--r-- | CutPaste.c | 4 | ||||
-rw-r--r-- | Dialog.c | 4 | ||||
-rw-r--r-- | Handlers.c | 4 | ||||
-rw-r--r-- | ReqMach.c | 4 | ||||
-rw-r--r-- | atobm.c | 4 |
7 files changed, 27 insertions, 2 deletions
@@ -30,8 +30,9 @@ from The Open Group. * Author: Davor Matic, MIT X Consortium */ - - +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include <stdio.h> #include <stdlib.h> @@ -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/Xaw/XawInit.h> @@ -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> @@ -30,6 +30,10 @@ from The Open Group. * Author: Davor Matic, MIT X Consortium */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include <X11/Intrinsic.h> #include <X11/StringDefs.h> #include <X11/Shell.h> @@ -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 "BitmapP.h" @@ -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/Xfuncs.h> @@ -31,6 +31,10 @@ from The Open Group. * Author: Jim Fulton, MIT X Consortium */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include <stdio.h> #include <ctype.h> #include <X11/Xos.h> |