diff --git a/input/input_autodetect.c b/input/input_autodetect.c index 809102d139..c1b7413bc3 100644 --- a/input/input_autodetect.c +++ b/input/input_autodetect.c @@ -32,6 +32,8 @@ #include "../runloop.h" #include "../verbosity.h" +extern const char* const input_builtin_autoconfs[]; + /* Adds an index for devices with the same name, * so they can be identified in the GUI. */ static void input_autoconfigure_joypad_reindex_devices(void) diff --git a/input/input_autodetect.h b/input/input_autodetect.h index 5957f23bd0..d92d386146 100644 --- a/input/input_autodetect.h +++ b/input/input_autodetect.h @@ -20,7 +20,6 @@ #include #include -#include typedef struct autoconfig_params { @@ -36,6 +35,4 @@ bool input_autoconfigure_connect(autoconfig_params_t *params); void input_autoconfigure_disconnect(unsigned i, const char *ident); -extern const char* const input_builtin_autoconfs[]; - #endif