summaryrefslogtreecommitdiff
path: root/keyboard/planck/planck.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/planck/planck.h')
-rw-r--r--keyboard/planck/planck.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/keyboard/planck/planck.h b/keyboard/planck/planck.h
index 4e59aef566..e775ea7c62 100644
--- a/keyboard/planck/planck.h
+++ b/keyboard/planck/planck.h
@@ -3,8 +3,13 @@
#include "matrix.h"
#include "keymap_common.h"
-#include "backlight.h"
+#ifdef BACKLIGHT_ENABLE
+ #include "backlight.h"
+#endif
#include <stddef.h>
+#ifdef MIDI_ENABLE
+ #include <keymap_midi.h>
+#endif
#define PLANCK_MIT( \
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \