From 868865c388e87501a1a0e6236432cc56fef233e0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 2 Sep 2021 01:12:24 +0200 Subject: [PATCH] Include "config.h" before including msg_hash.h - we were getting a crash at startup of the Qt desktop interface because we didn't do this --- configuration.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configuration.h b/configuration.h index 9f267e93dc..88b9fb992c 100644 --- a/configuration.h +++ b/configuration.h @@ -25,15 +25,20 @@ #include #include +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "gfx/video_defines.h" #include "input/input_defines.h" #include "led/led_defines.h" -#include "msg_hash.h" #ifdef HAVE_LAKKA #include "lakka.h" #endif +#include "msg_hash.h" + #define configuration_set_float(settings, var, newvar) \ { \ settings->modified = true; \