diff options
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/config_common.h | 4 | ||||
-rw-r--r-- | quantum/unicode/unicode.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/quantum/config_common.h b/quantum/config_common.h index d93477b27e..6ab8a2aa7d 100644 --- a/quantum/config_common.h +++ b/quantum/config_common.h @@ -24,4 +24,6 @@ #define COL2ROW 0 #define ROW2COL 1 -#include "song_list.h" +#ifdef AUDIO_ENABLE +# include "song_list.h" +#endif diff --git a/quantum/unicode/unicode.c b/quantum/unicode/unicode.c index 3f934c9277..e2bfd68a3a 100644 --- a/quantum/unicode/unicode.c +++ b/quantum/unicode/unicode.c @@ -23,10 +23,13 @@ #include "host.h" #include "keycode.h" #include "wait.h" -#include "audio.h" #include "send_string.h" #include "utf8.h" +#if defined(AUDIO_ENABLE) +# include "audio.h" +#endif + #if defined(UNICODE_ENABLE) + defined(UNICODEMAP_ENABLE) + defined(UCIS_ENABLE) > 1 # error "Cannot enable more than one Unicode method (UNICODE, UNICODEMAP, UCIS) at the same time" #endif |