diff --git a/camera/camera_driver.c b/camera/camera_driver.c index ae11e1b40b..71672ac441 100644 --- a/camera/camera_driver.c +++ b/camera/camera_driver.c @@ -16,6 +16,10 @@ #include +#ifdef HAVE_CONFIG_H +#include "../config.h" +#endif + #include "camera_driver.h" #include "../configuration.h" diff --git a/location/location_driver.c b/location/location_driver.c index 4921fb1a92..a15773674d 100644 --- a/location/location_driver.c +++ b/location/location_driver.c @@ -16,6 +16,10 @@ #include +#ifdef HAVE_CONFIG_H +#include "../config.h" +#endif + #include "location_driver.h" #include "../configuration.h" diff --git a/record/record_driver.c b/record/record_driver.c index d99b3fc51c..6b0ef382f4 100644 --- a/record/record_driver.c +++ b/record/record_driver.c @@ -16,22 +16,24 @@ #include +#ifdef HAVE_CONFIG_H +#include "../config.h" +#endif + #include +#include #include #include "record_driver.h" #include "../command.h" -#include "../general.h" +#include "../configuration.h" #include "../retroarch.h" +#include "../runloop.h" #include "../verbosity.h" #include "../msg_hash.h" #include "../list_special.h" -#ifdef HAVE_CONFIG_H -#include "../config.h" -#endif - static bool recording_enable; static const record_driver_t *record_drivers[] = {