From 864e023e0faeca5aa662023a54af7e4f9797fafa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 29 Jun 2017 19:05:52 +0300 Subject: Move foreach macroses into separate file. --- src/fs/paths.cpp | 2 ++ src/fs/virtfs/fs.cpp | 1 + src/fs/virtfs/fsdir.cpp | 1 + src/fs/virtfs/fszip.cpp | 1 + src/fs/virtfs/tools.cpp | 1 + src/fs/virtfs/virtfs1_unittest.cc | 1 + src/fs/virtfs/virtfs_unittest.cc | 1 + 7 files changed, 8 insertions(+) (limited to 'src/fs') 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 #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 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 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 -- cgit v1.2.3-70-g09d2