summaryrefslogtreecommitdiff
path: root/quantum/unicode
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/unicode
parent0b41c13509b5547028f141d869e10199566a1228 (diff)
Remove quantum/audio from global VPATH (#18753)
Diffstat (limited to 'quantum/unicode')
-rw-r--r--quantum/unicode/unicode.c5
1 files changed, 4 insertions, 1 deletions
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