diff options
| author | Victor Kareh <[email protected]> | 2026-08-11 15:37:40 -0400 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-08-11 15:37:40 -0400 |
| commit | 27f804c68a2706817093d572e31784facba93e02 (patch) | |
| tree | 36a86202c5984492a1beca26e414d8cfd263b6cd | |
| parent | af548cae476194a47f33e3d5fb8e6a8f8deacf33 (diff) | |
| download | marco-fix-config-h-include-order.tar.bz2 marco-fix-config-h-include-order.tar.xz | |
Always include config.h before util.hfix-config-h-include-order
The util.h file guards verbose output through WITH_VERBOSE_MODE, which
is defined in config.h. This means that verbose mode would have never
worked on some of these files unless config.h was included first.
All other files with verbose output calls already include config.h.
| -rw-r--r-- | src/core/boxes.c | 1 | ||||
| -rw-r--r-- | src/include/errors.h | 1 | ||||
| -rw-r--r-- | src/ui/ui.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/core/boxes.c b/src/core/boxes.c index 9ef8d94d..6262453e 100644 --- a/src/core/boxes.c +++ b/src/core/boxes.c @@ -26,6 +26,7 @@ * 02110-1301, USA. */ +#include <config.h> #include "boxes.h" #include "util.h" #include <X11/Xutil.h> /* Just for the definition of the various gravities */ diff --git a/src/include/errors.h b/src/include/errors.h index 9282099c..50bc1f2a 100644 --- a/src/include/errors.h +++ b/src/include/errors.h @@ -26,6 +26,7 @@ #include <X11/Xlib.h> +#include <config.h> #include "util.h" #include "display.h" diff --git a/src/ui/ui.c b/src/ui/ui.c index 00500c03..7abfa45b 100644 --- a/src/ui/ui.c +++ b/src/ui/ui.c @@ -20,6 +20,7 @@ * 02110-1301, USA. */ +#include <config.h> #include "prefs.h" #include "ui.h" #include "frames.h" |
