aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Amit Chaudhuri <amit.k.chaudhuri@gmail.com>2013-02-28 12:19:27 +0000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-28 05:52:29 -0800
commit92fbbd4c22bdfd0830c8ccd1ec24eb63a75eb59b (patch)
treea9150e56315e1207b5c126797fef1f27e500d645
parent11a3f3f7f72811df00cdeb703d44c31fcd1500da (diff)
downloadsubsurface-92fbbd4c22bdfd0830c8ccd1ec24eb63a75eb59b.tar.gz
Fix compilation problem with LaunchServices on OSX
You cannot include the LSOpen.h directly on OSX - it is too far down in the System hierarchy to locate. Instead we include the umbrella header CoreServices.h which finds it for us. Signed off by Amit Chaudhuri <amit.k.chaudhuri@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--macos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macos.c b/macos.c
index dedca7ec7..0e2afbb1f 100644
--- a/macos.c
+++ b/macos.c
@@ -4,7 +4,7 @@
#include "dive.h"
#include "display-gtk.h"
#include <CoreFoundation/CoreFoundation.h>
-#include <LaunchServices/LSOpen.h>
+#include <CoreServices/CoreServices.h>
#include <mach-o/dyld.h>
#include "gtkosxapplication.h"