Skip to content

Commit

Permalink
Header include cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Sep 5, 2016
1 parent 4a5be82 commit 075aea2
Show file tree
Hide file tree
Showing 25 changed files with 35 additions and 3 deletions.
1 change: 1 addition & 0 deletions database_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

#include <stdint.h>

#include <compat/strl.h>
#include <retro_endianness.h>

#include "list_special.h"
Expand Down
2 changes: 2 additions & 0 deletions gfx/common/drm_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
* If not, see <http://www.gnu.org/licenses/>.
*/

#include <compat/strl.h>

#include "../../configuration.h"
#include "../../verbosity.h"

Expand Down
4 changes: 4 additions & 0 deletions gfx/drivers_font/vulkan_raster_font.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
* If not, see <http://www.gnu.org/licenses/>.
*/

#include <string.h>

#include <compat/strl.h>

#include "../common/vulkan_common.h"

#include "../font_driver.h"
Expand Down
4 changes: 3 additions & 1 deletion gfx/drivers_shader/shader_vulkan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@
#include <string.h>
#include <math.h>

#include <compat/strl.h>
#include <formats/image.h>

#include "slang_reflection.hpp"

#include "../video_shader_driver.h"
#include "../../verbosity.h"
#include "../../msg_hash.h"
#include "../../libretro-common/include/formats/image.h"

using namespace std;

Expand Down
1 change: 1 addition & 0 deletions gfx/video_context_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#include <string.h>

#include <compat/strl.h>
#include <string/stdstring.h>

#include "video_context_driver.h"
Expand Down
1 change: 1 addition & 0 deletions gfx/video_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <rthreads/rthreads.h>
#endif

#include <compat/strl.h>
#include <retro_common_api.h>
#include <file/config_file.h>
#include <features/features_cpu.h>
Expand Down
1 change: 1 addition & 0 deletions gfx/video_thread_wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <string.h>
#include <limits.h>

#include <compat/strl.h>
#include <features/features_cpu.h>
#include <rthreads/rthreads.h>

Expand Down
1 change: 1 addition & 0 deletions input/drivers/udev_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#endif

#include <file/file_path.h>
#include <compat/strl.h>
#include <string/stdstring.h>

#include "../drivers_keyboard/keyboard_event_udev.h"
Expand Down
1 change: 1 addition & 0 deletions input/drivers/x11_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <X11/keysym.h>

#include <boolean.h>
#include <compat/strl.h>

#include "../input_config.h"
#include "../input_joypad_driver.h"
Expand Down
2 changes: 2 additions & 0 deletions input/drivers_joypad/linuxraw_joypad.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include <sys/inotify.h>
#include <linux/joystick.h>

#include <compat/strl.h>

#include "../common/epoll_common.h"
#include "../input_autodetect.h"
#include "../input_driver.h"
Expand Down
2 changes: 2 additions & 0 deletions input/drivers_joypad/parport_joypad.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#include <sys/ioctl.h>
#include <fcntl.h>

#include <compat/strl.h>

#include "../input_autodetect.h"
#include "../input_driver.h"
#include "../../configuration.h"
Expand Down
2 changes: 2 additions & 0 deletions input/drivers_joypad/sdl_joypad.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

#include <stdint.h>

#include <compat/strl.h>

#include "SDL.h"

#include "../../configuration.h"
Expand Down
1 change: 1 addition & 0 deletions input/drivers_joypad/udev_joypad.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <linux/input.h>

#include <retro_inline.h>
#include <compat/strl.h>
#include <string/stdstring.h>

#include "../input_autodetect.h"
Expand Down
1 change: 1 addition & 0 deletions input/input_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <stdlib.h>
#include <ctype.h>

#include <compat/strl.h>
#include <file/file_path.h>
#include <string/stdstring.h>

Expand Down
1 change: 1 addition & 0 deletions menu/cbs/menu_cbs_deferred_push.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/

#include <compat/strl.h>
#include <file/file_path.h>
#include <string/stdstring.h>
#include <lists/string_list.h>
Expand Down
1 change: 1 addition & 0 deletions menu/drivers/materialui.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <limits.h>

#include <compat/posix_string.h>
#include <compat/strl.h>
#include <file/file_path.h>
#include <formats/image.h>
#include <gfx/math/matrix_4x4.h>
Expand Down
1 change: 1 addition & 0 deletions menu/menu_content.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/

#include <compat/strl.h>
#include <retro_assert.h>
#include <streams/file_stream.h>
#include <file/file_path.h>
Expand Down
1 change: 1 addition & 0 deletions menu/menu_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#include <string.h>

#include <compat/strl.h>
#include <file/file_path.h>
#include <string/stdstring.h>

Expand Down
1 change: 1 addition & 0 deletions movie.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <string.h>

#include <rhash.h>
#include <compat/strl.h>
#include <retro_endianness.h>

#include "configuration.h"
Expand Down
1 change: 1 addition & 0 deletions network/netplay/netplay.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <stdlib.h>
#include <string.h>

#include <compat/strl.h>
#include <net/net_compat.h>
#include <net/net_socket.h>
#include <retro_endianness.h>
Expand Down
2 changes: 2 additions & 0 deletions network/netplay/netplay_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
* If not, see <http://www.gnu.org/licenses/>.
*/

#include <compat/strl.h>

#include "netplay_private.h"
#include <net/net_socket.h>

Expand Down
2 changes: 2 additions & 0 deletions network/netplay/netplay_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
* If not, see <http://www.gnu.org/licenses/>.
*/

#include <compat/strl.h>

#include "netplay_private.h"

#include "../../autosave.h"
Expand Down
1 change: 1 addition & 0 deletions tasks/task_overlay.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

#include <stdlib.h>

#include <compat/strl.h>
#include <retro_miscellaneous.h>
#include <file/file_path.h>
#include <file/config_file.h>
Expand Down
1 change: 1 addition & 0 deletions tasks/task_save_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#endif
#include <errno.h>

#include <compat/strl.h>
#include <lists/string_list.h>
#include <streams/file_stream.h>
#include <file/file_path.h>
Expand Down
2 changes: 0 additions & 2 deletions verbosity.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@

#include <boolean.h>
#include <retro_common_api.h>
#include <compat/posix_string.h>
#include <compat/strl.h>

RETRO_BEGIN_DECLS

Expand Down

0 comments on commit 075aea2

Please sign in to comment.