X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=quantum%2Fkeymap.h;h=bfcb2f7cd517d861c032951f351da510c399c8f5;hb=e717dcaa09143615ae0b46bf625621f67a7b55ce;hp=5d64be19c87f0c1bd2e15ad53c7bfe36a35ecdd5;hpb=ea3df7466aa29312b3e781f29532e10fa8a08a1f;p=qmk_firmware.git
diff --git a/quantum/keymap.h b/quantum/keymap.h
index 5d64be19c..bfcb2f7cd 100644
--- a/quantum/keymap.h
+++ b/quantum/keymap.h
@@ -23,6 +23,9 @@ along with this program. If not, see .
#include "action.h"
#if defined(__AVR__)
#include
+#elif defined PROTOCOL_CHIBIOS
+//We need to ensure that chibios is include before redefining reset
+#include "ch.h"
#endif
#include "keycode.h"
#include "action_macro.h"