summaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-21 00:41:45 +1100
committerGitHub <noreply@github.com>2022-10-20 14:41:45 +0100
commitaf678521c1d786fe5578f82c2f671f5553b08dfe (patch)
treebff4e343a67e15381b12c87ad98ac36db05cb2b0 /quantum
parent0b41c13509b5547028f141d869e10199566a1228 (diff)
Remove quantum/audio from global VPATH (#18753)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/config_common.h4
-rw-r--r--quantum/unicode/unicode.c5
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