diff --git a/input/input_keymaps.c b/input/input_keymaps.c
index 5a29b5a3da..0749ee05e5 100644
--- a/input/input_keymaps.c
+++ b/input/input_keymaps.c
@@ -14,10 +14,15 @@
* If not, see .
*/
+#include
#include
#include
#include
+#ifdef HAVE_CONFIG_H
+#include "../config.h"
+#endif
+
#include
#include
@@ -28,10 +33,6 @@
#include "drivers_keyboard/keyboard_event_android.h"
#endif
-#ifdef HAVE_CONFIG_H
-#include "../config.h"
-#endif
-
#if defined(HAVE_SDL) || defined(HAVE_SDL2)
#include "SDL.h"
#endif