X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=quantum%2Fkeymap.h;h=bfcb2f7cd517d861c032951f351da510c399c8f5;hb=6d6d91c834ef3415425e21d895d4ec91c67fd4b8;hp=5d64be19c87f0c1bd2e15ad53c7bfe36a35ecdd5;hpb=bee9183e7fae7c739b9c42dd4dc759783ac80e46;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"