summaryrefslogtreecommitdiff
path: root/src/resources/Resources.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/Resources.h')
-rw-r--r--src/resources/Resources.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resources/Resources.h b/src/resources/Resources.h
index 6e1a95f..21bf8a7 100644
--- a/src/resources/Resources.h
+++ b/src/resources/Resources.h
@@ -2,6 +2,7 @@
// dng
//------------------------------------------------------------------------
// Copyright (c) 2022 Steph Enders <steph@senders.io>
+// Copyright (c) 2022 Dan Enders
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
@@ -27,7 +28,12 @@
#ifndef DNG_RESOURCES_H
#define DNG_RESOURCES_H
+#ifdef __APPLE__
+#include <experimental/filesystem>
+namespace std::filesystem = std::experimental::filesystem;
+#else
#include <filesystem>
+#endif
#include <optional>
#include <vector>