summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-29 19:05:52 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-29 20:53:56 +0300
commit864e023e0faeca5aa662023a54af7e4f9797fafa (patch)
treeae76f85900e16e2c15d82b661077a265ecdd2276 /src/fs
parent4c4d59b85e3b89812cede60dea8cf0d0185695ae (diff)
downloadplus-864e023e0faeca5aa662023a54af7e4f9797fafa.tar.gz
plus-864e023e0faeca5aa662023a54af7e4f9797fafa.tar.bz2
plus-864e023e0faeca5aa662023a54af7e4f9797fafa.tar.xz
plus-864e023e0faeca5aa662023a54af7e4f9797fafa.zip
Move foreach macroses into separate file.
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/paths.cpp2
-rw-r--r--src/fs/virtfs/fs.cpp1
-rw-r--r--src/fs/virtfs/fsdir.cpp1
-rw-r--r--src/fs/virtfs/fszip.cpp1
-rw-r--r--src/fs/virtfs/tools.cpp1
-rw-r--r--src/fs/virtfs/virtfs1_unittest.cc1
-rw-r--r--src/fs/virtfs/virtfs_unittest.cc1
7 files changed, 8 insertions, 0 deletions
diff --git a/src/fs/paths.cpp b/src/fs/paths.cpp
index 659fc49e4..46eae158e 100644
--- a/src/fs/paths.cpp
+++ b/src/fs/paths.cpp
@@ -35,6 +35,8 @@
#include "fs/files.h"
#endif // USE_X11
+#include "utils/foreach.h"
+
#ifdef __native_client__
#include <limits.h>
#define realpath(N, R) strcpy(R, N)
diff --git a/src/fs/virtfs/fs.cpp b/src/fs/virtfs/fs.cpp
index b4847ad13..d9973d79b 100644
--- a/src/fs/virtfs/fs.cpp
+++ b/src/fs/virtfs/fs.cpp
@@ -33,6 +33,7 @@
#include "fs/virtfs/zipreader.h"
#include "utils/checkutils.h"
+#include "utils/foreach.h"
#include "utils/stringutils.h"
#include "debug.h"
diff --git a/src/fs/virtfs/fsdir.cpp b/src/fs/virtfs/fsdir.cpp
index 08879da5d..d4e9ce900 100644
--- a/src/fs/virtfs/fsdir.cpp
+++ b/src/fs/virtfs/fsdir.cpp
@@ -31,6 +31,7 @@
#include "fs/virtfs/list.h"
#include "utils/checkutils.h"
+#include "utils/foreach.h"
#include "utils/stringutils.h"
#include <dirent.h>
diff --git a/src/fs/virtfs/fszip.cpp b/src/fs/virtfs/fszip.cpp
index 43891c783..d3821b5b9 100644
--- a/src/fs/virtfs/fszip.cpp
+++ b/src/fs/virtfs/fszip.cpp
@@ -29,6 +29,7 @@
#include "fs/virtfs/ziplocalheader.h"
#include "utils/checkutils.h"
+#include "utils/foreach.h"
#include "utils/stringutils.h"
#include "debug.h"
diff --git a/src/fs/virtfs/tools.cpp b/src/fs/virtfs/tools.cpp
index 7e572ecc3..64153fc52 100644
--- a/src/fs/virtfs/tools.cpp
+++ b/src/fs/virtfs/tools.cpp
@@ -27,6 +27,7 @@
#include "fs/virtfs/fs.h"
#include "fs/virtfs/list.h"
+#include "utils/foreach.h"
#include "utils/stringutils.h"
#include <algorithm>
diff --git a/src/fs/virtfs/virtfs1_unittest.cc b/src/fs/virtfs/virtfs1_unittest.cc
index d098d5765..69d40b9b3 100644
--- a/src/fs/virtfs/virtfs1_unittest.cc
+++ b/src/fs/virtfs/virtfs1_unittest.cc
@@ -29,6 +29,7 @@
#include "utils/checkutils.h"
#include "utils/delete2.h"
+#include "utils/foreach.h"
#include "utils/stringutils.h"
PRAGMA48(GCC diagnostic push)
diff --git a/src/fs/virtfs/virtfs_unittest.cc b/src/fs/virtfs/virtfs_unittest.cc
index 3305c0264..f31157f35 100644
--- a/src/fs/virtfs/virtfs_unittest.cc
+++ b/src/fs/virtfs/virtfs_unittest.cc
@@ -28,6 +28,7 @@
#include "utils/checkutils.h"
#include "utils/delete2.h"
+#include "utils/foreach.h"
#ifndef UNITTESTS_CATCH
#include <algorithm>