summaryrefslogtreecommitdiffstats
path: root/ingen/filesystem.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-08 10:53:07 +0100
committerDavid Robillard <d@drobilla.net>2019-03-09 00:43:43 +0100
commit20af728fdf07478b5a146370b59f902a70b85a68 (patch)
tree1763151b88d201c9d56984480cd42b4c3b2068a7 /ingen/filesystem.hpp
parent11fe15cd9187c393cbb7df9f04ba96abc3fbcc9a (diff)
downloadingen-20af728fdf07478b5a146370b59f902a70b85a68.tar.gz
ingen-20af728fdf07478b5a146370b59f902a70b85a68.tar.bz2
ingen-20af728fdf07478b5a146370b59f902a70b85a68.zip
Clean up includes and forward declarations
Diffstat (limited to 'ingen/filesystem.hpp')
-rw-r--r--ingen/filesystem.hpp17
1 files changed, 8 insertions, 9 deletions
diff --git a/ingen/filesystem.hpp b/ingen/filesystem.hpp
index 4b8e2b11..5156eb79 100644
--- a/ingen/filesystem.hpp
+++ b/ingen/filesystem.hpp
@@ -20,14 +20,7 @@
#define _BSD_SOURCE 1
#define _DEFAULT_SOURCE 1
-#include <cerrno>
-#include <climits>
-#include <cstdlib>
-#include <memory>
-#include <vector>
-
-#include <sys/stat.h>
-#include <sys/types.h>
+#include "ingen/FilePath.hpp"
#ifdef _WIN32
# include <windows.h>
@@ -36,7 +29,13 @@
# define mkdir(path, flags) _mkdir(path)
#endif
-#include "ingen/FilePath.hpp"
+#include <cerrno>
+#include <climits>
+#include <cstdlib>
+#include <memory>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <vector>
/* A minimal subset of the std::filesystem API from C++17. */