Get rid of general.h includes

This commit is contained in:
twinaphex 2016-09-11 13:21:56 +02:00
parent 6c6d4cd34b
commit 012e069f86
12 changed files with 40 additions and 21 deletions

View File

@ -25,20 +25,23 @@
#include <retro_inline.h>
#include <string/stdstring.h>
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#endif
#ifdef HAVE_MENU
#include "../../menu/menu_display.h"
#endif
#include "../../frontend/drivers/platform_linux.h"
#include "../input_autodetect.h"
#include "../input_config.h"
#include "../input_joypad_driver.h"
#include "../drivers_keyboard/keyboard_event_android.h"
#include "../../performance_counters.h"
#include "../../general.h"
#include "../../driver.h"
#include "../../configuration.h"
#ifdef HAVE_MENU
#include "../../menu/menu_display.h"
#endif
#define MAX_TOUCH 16
#define MAX_NUM_KEYBOARDS 3

View File

@ -17,11 +17,14 @@
#include <stdint.h>
#include <unistd.h>
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#endif
#include "../input_config.h"
#include "../input_joypad_driver.h"
#include "../input_keymaps.h"
#include "cocoa_input.h"
#include "../../general.h"
#include "../../configuration.h"
#include "../../driver.h"

View File

@ -19,7 +19,6 @@
#include <stdint.h>
#include <boolean.h>
#include "../../general.h"
/* Input responder */
#define MAX_TOUCHES 16

View File

@ -19,9 +19,12 @@
#include <boolean.h>
#include <libretro.h>
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#endif
#include "../../configuration.h"
#include "../../driver.h"
#include "../../general.h"
#include "../input_config.h"
#include "../input_joypad_driver.h"

View File

@ -38,8 +38,11 @@
#include <windowsx.h>
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#endif
#include "../../configuration.h"
#include "../../general.h"
#include "../../verbosity.h"
#include "../input_autodetect.h"
#include "../input_config.h"

View File

@ -22,11 +22,14 @@
#include <boolean.h>
#include <libretro.h>
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#endif
#include "../../defines/ps3_defines.h"
#include "../../configuration.h"
#include "../../driver.h"
#include "../../general.h"
#ifdef HAVE_MOUSE
#ifndef __PSL1GHT__

View File

@ -17,6 +17,10 @@
#include <stdint.h>
#include <stdlib.h>
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#endif
#if defined(SN_TARGET_PSP2)
#include <sceerror.h>
#include <kernel.h>
@ -30,15 +34,15 @@
#include <boolean.h>
#include <libretro.h>
#ifdef HAVE_KERNEL_PRX
#include "../../bootstrap/psp1/kernel_functions.h"
#endif
#include "../../defines/psp_defines.h"
#include "../../configuration.h"
#include "../../driver.h"
#include "../../general.h"
#include "../input_config.h"
#ifdef HAVE_KERNEL_PRX
#include "../../bootstrap/psp1/kernel_functions.h"
#endif
typedef struct psp_input
{

View File

@ -23,8 +23,11 @@
#include <bps/navigator.h>
#include <sys/keycodes.h>
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#endif
#include "../../configuration.h"
#include "../../general.h"
#include "../../driver.h"
#include "../input_autodetect.h"

View File

@ -26,8 +26,6 @@
#include "../../configuration.h"
#include "../../driver.h"
#include "../../general.h"
typedef struct rwebinput_state
{
uint8_t keys[32];

View File

@ -17,6 +17,10 @@
#include <stdint.h>
#include <stdlib.h>
#ifdef HAVE_CONFIG_H
#include "../../config.h"
#endif
#ifdef _XBOX
#include <xtl.h>
#endif
@ -26,7 +30,6 @@
#include "../../configuration.h"
#include "../../driver.h"
#include "../../general.h"
#define MAX_PADS 4

View File

@ -26,7 +26,6 @@
#include "input_keymaps.h"
#include "../configuration.h"
#include "../general.h"
#include "../list_special.h"
#include "../verbosity.h"

View File

@ -23,8 +23,6 @@
#include "../menu_driver.h"
#include "../menu_display.h"
#include "../../general.h"
menu_ctx_driver_t menu_ctx_null = {
NULL, /* set_texture */
NULL, /* render_messagebox */