From aa7860dc0e2fa4c39ac1df6d25c4390d7d1de235 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 31 Mar 2017 05:21:38 +0300 Subject: Remove extra includes. --- src/fs/virtfs/virtfsdirrwops.cpp | 1 - src/fs/virtfs/virtfsrwops.cpp | 2 ++ src/fs/virtfs/virtfsrwops.h | 4 +--- src/maingui.cpp | 1 - 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/fs/virtfs/virtfsdirrwops.cpp b/src/fs/virtfs/virtfsdirrwops.cpp index f5fc3acd1..64ad474e2 100644 --- a/src/fs/virtfs/virtfsdirrwops.cpp +++ b/src/fs/virtfs/virtfsdirrwops.cpp @@ -23,7 +23,6 @@ #include "logger.h" #include "fs/virtfs/virtfile.h" -#include "fs/virtfs/virtfs.h" #include diff --git a/src/fs/virtfs/virtfsrwops.cpp b/src/fs/virtfs/virtfsrwops.cpp index 8b5dc57b0..101ce66b6 100644 --- a/src/fs/virtfs/virtfsrwops.cpp +++ b/src/fs/virtfs/virtfsrwops.cpp @@ -52,6 +52,8 @@ #include "utils/fuzzer.h" +#include + #include "debug.h" SDL_RWops *VirtFs::create_rwops(VirtFile *const file) diff --git a/src/fs/virtfs/virtfsrwops.h b/src/fs/virtfs/virtfsrwops.h index 28990706e..3f0a7663f 100644 --- a/src/fs/virtfs/virtfsrwops.h +++ b/src/fs/virtfs/virtfsrwops.h @@ -47,11 +47,9 @@ #include "localconsts.h" -#include "fs/virtfs/rwopstypes.h" - #include -#include +struct SDL_RWops; struct VirtFile; namespace VirtFs diff --git a/src/maingui.cpp b/src/maingui.cpp index 668f044e9..301b088a0 100644 --- a/src/maingui.cpp +++ b/src/maingui.cpp @@ -27,7 +27,6 @@ #include "settings.h" #include "fs/virtfs/virtfs.h" -#include "fs/virtfs/virtfsrwops.h" #include "utils/delete2.h" #ifdef ANDROID -- cgit v1.2.3-70-g09d2