summaryrefslogtreecommitdiffstats
path: root/quantum/unicode/unicode.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/unicode/unicode.c')
-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