Add HAVE_CONFIG_H ifdefs

This commit is contained in:
twinaphex 2016-09-06 23:52:33 +02:00
parent b175f26b23
commit 8320466824
8 changed files with 40 additions and 20 deletions

View File

@ -26,10 +26,6 @@
#include "msg_hash.h" #include "msg_hash.h"
#include "verbosity.h" #include "verbosity.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#define DB_QUERY_ENTRY 0x1c310956U #define DB_QUERY_ENTRY 0x1c310956U
#define DB_QUERY_ENTRY_PUBLISHER 0x125e594dU #define DB_QUERY_ENTRY_PUBLISHER 0x125e594dU
#define DB_QUERY_ENTRY_DEVELOPER 0xcbd89be5U #define DB_QUERY_ENTRY_DEVELOPER 0xcbd89be5U

View File

@ -24,6 +24,10 @@
#include <file/archive_file.h> #include <file/archive_file.h>
#include <retro_common_api.h> #include <retro_common_api.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "libretro-db/libretrodb.h" #include "libretro-db/libretrodb.h"
RETRO_BEGIN_DECLS RETRO_BEGIN_DECLS

View File

@ -18,6 +18,10 @@
#include <compat/posix_string.h> #include <compat/posix_string.h>
#include <string/stdstring.h> #include <string/stdstring.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "command.h" #include "command.h"
#include "msg_hash.h" #include "msg_hash.h"
@ -35,10 +39,6 @@
#include "menu/menu_driver.h" #include "menu/menu_driver.h"
#endif #endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#define HASH_LOCATION_DRIVER 0x09189689U #define HASH_LOCATION_DRIVER 0x09189689U
#define HASH_CAMERA_DRIVER 0xf25db959U #define HASH_CAMERA_DRIVER 0xf25db959U
#define HASH_MENU_DRIVER 0xd607fb05U #define HASH_MENU_DRIVER 0xd607fb05U

View File

@ -13,6 +13,10 @@
* If not, see <http://www.gnu.org/licenses/>. * If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "file_path_special.h" #include "file_path_special.h"
const char *file_path_str(enum file_path_enum enum_idx) const char *file_path_str(enum file_path_enum enum_idx)

View File

@ -20,6 +20,10 @@
#include <lists/string_list.h> #include <lists/string_list.h>
#include <compat/strl.h> #include <compat/strl.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "list_special.h" #include "list_special.h"
#include "frontend/frontend_driver.h" #include "frontend/frontend_driver.h"
#include "core_info.h" #include "core_info.h"

View File

@ -29,6 +29,10 @@
#include <retro_stat.h> #include <retro_stat.h>
#include <string/stdstring.h> #include <string/stdstring.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "msg_hash.h" #include "msg_hash.h"
#include "patch.h" #include "patch.h"
#include "runloop.h" #include "runloop.h"

View File

@ -15,18 +15,6 @@
* If not, see <http://www.gnu.org/licenses/>. * If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include <setjmp.h>
#include <boolean.h>
#include <string/stdstring.h>
#include <lists/string_list.h>
#ifdef _WIN32 #ifdef _WIN32
#ifdef _XBOX #ifdef _XBOX
#include <xtl.h> #include <xtl.h>
@ -36,6 +24,22 @@
#endif #endif
#endif #endif
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include <setjmp.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <boolean.h>
#include <string/stdstring.h>
#include <lists/string_list.h>
#include <compat/strl.h> #include <compat/strl.h>
#include <compat/getopt.h> #include <compat/getopt.h>
#include <compat/posix_string.h> #include <compat/posix_string.h>

View File

@ -19,6 +19,10 @@
#include <stdarg.h> #include <stdarg.h>
#include <math.h> #include <math.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <lists/dir_list.h> #include <lists/dir_list.h>
#include <file/file_path.h> #include <file/file_path.h>
#include <retro_inline.h> #include <retro_inline.h>