summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-30 03:23:23 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-30 03:35:27 +0300
commit0b20c8cb3c0b4831349e0b76495ad207630292aa (patch)
treed3c00514cd5c95bf4899db90e62ba7918baa234e /src/fs
parent201dc96af656196a24e6ce4bbcc3e22fc960a972 (diff)
downloadmv-0b20c8cb3c0b4831349e0b76495ad207630292aa.tar.gz
mv-0b20c8cb3c0b4831349e0b76495ad207630292aa.tar.bz2
mv-0b20c8cb3c0b4831349e0b76495ad207630292aa.tar.xz
mv-0b20c8cb3c0b4831349e0b76495ad207630292aa.zip
Remove extra includes from headers.
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/virtfs/fsdir.cpp1
-rw-r--r--src/fs/virtfs/fsdirrwops.cpp2
-rw-r--r--src/fs/virtfs/fszip.cpp1
-rw-r--r--src/fs/virtfs/fsziprwops.cpp2
-rw-r--r--src/fs/virtfs/zipreader.cpp1
5 files changed, 7 insertions, 0 deletions
diff --git a/src/fs/virtfs/fsdir.cpp b/src/fs/virtfs/fsdir.cpp
index 59097e5be..60fc9f977 100644
--- a/src/fs/virtfs/fsdir.cpp
+++ b/src/fs/virtfs/fsdir.cpp
@@ -30,6 +30,7 @@
#include "fs/virtfs/fsfuncs.h"
#include "fs/virtfs/list.h"
+#include "utils/cast.h"
#include "utils/checkutils.h"
#include "utils/foreach.h"
#include "utils/stdmove.h"
diff --git a/src/fs/virtfs/fsdirrwops.cpp b/src/fs/virtfs/fsdirrwops.cpp
index 9527aaf5b..bef2534fb 100644
--- a/src/fs/virtfs/fsdirrwops.cpp
+++ b/src/fs/virtfs/fsdirrwops.cpp
@@ -24,6 +24,8 @@
#include "fs/virtfs/file.h"
+#include "utils/cast.h"
+
PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")
#include <SDL_rwops.h>
diff --git a/src/fs/virtfs/fszip.cpp b/src/fs/virtfs/fszip.cpp
index d3821b5b9..830909778 100644
--- a/src/fs/virtfs/fszip.cpp
+++ b/src/fs/virtfs/fszip.cpp
@@ -28,6 +28,7 @@
#include "fs/virtfs/zipreader.h"
#include "fs/virtfs/ziplocalheader.h"
+#include "utils/cast.h"
#include "utils/checkutils.h"
#include "utils/foreach.h"
#include "utils/stringutils.h"
diff --git a/src/fs/virtfs/fsziprwops.cpp b/src/fs/virtfs/fsziprwops.cpp
index 3dbe7ece7..e9f72c469 100644
--- a/src/fs/virtfs/fsziprwops.cpp
+++ b/src/fs/virtfs/fsziprwops.cpp
@@ -25,6 +25,8 @@
#include "fs/virtfs/file.h"
#include "fs/virtfs/fsfuncs.h"
+#include "utils/cast.h"
+
PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")
#include <SDL_rwops.h>
diff --git a/src/fs/virtfs/zipreader.cpp b/src/fs/virtfs/zipreader.cpp
index 4bbdd6af7..3302fd7c0 100644
--- a/src/fs/virtfs/zipreader.cpp
+++ b/src/fs/virtfs/zipreader.cpp
@@ -25,6 +25,7 @@
#include "fs/virtfs/zipentry.h"
#include "fs/virtfs/ziplocalheader.h"
+#include "utils/cast.h"
#include "utils/checkutils.h"
#include "utils/stringutils.h"