summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fs/virtfs/virtfsdirrwops.cpp1
-rw-r--r--src/fs/virtfs/virtfsrwops.cpp2
-rw-r--r--src/fs/virtfs/virtfsrwops.h4
-rw-r--r--src/maingui.cpp1
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 <SDL_rwops.h>
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 <SDL_rwops.h>
+
#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 <string>
-#include <SDL_rwops.h>
+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