summaryrefslogtreecommitdiff
path: root/source/dng_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/dng_utils.cpp')
-rw-r--r--source/dng_utils.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/dng_utils.cpp b/source/dng_utils.cpp
index 68ac0fc..e27b030 100644
--- a/source/dng_utils.cpp
+++ b/source/dng_utils.cpp
@@ -29,8 +29,13 @@
#include "dng_tile_iterator.h"
#if qMacOS
+#include <TargetConditionals.h>
+#if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
+#include <MobileCoreServices/MobileCoreServices.h>
+#else
#include <CoreServices/CoreServices.h>
-#endif
+#endif // TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
+#endif // qMacOS
#if qiPhone || qMacOS
// these provide timers