summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/virtfs/virtfsdirrwops.cpp1
-rw-r--r--src/fs/virtfs/virtfsrwops.cpp2
-rw-r--r--src/fs/virtfs/virtfsrwops.h4
3 files changed, 3 insertions, 4 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