aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core/macos.c
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/macos.c')
-rw-r--r--subsurface-core/macos.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/subsurface-core/macos.c b/subsurface-core/macos.c
index aa2be4b3b..fdfcebbde 100644
--- a/subsurface-core/macos.c
+++ b/subsurface-core/macos.c
@@ -6,7 +6,9 @@
#include "dive.h"
#include "display.h"
#include <CoreFoundation/CoreFoundation.h>
+#if !defined(__IPHONE_5_0)
#include <CoreServices/CoreServices.h>
+#endif
#include <mach-o/dyld.h>
#include <sys/syslimits.h>
#include <stdio.h>