diff options
author | Amit Chaudhuri <amit.k.chaudhuri@gmail.com> | 2013-02-28 12:19:27 +0000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-28 05:52:29 -0800 |
commit | 92fbbd4c22bdfd0830c8ccd1ec24eb63a75eb59b (patch) | |
tree | a9150e56315e1207b5c126797fef1f27e500d645 /macos.c | |
parent | 11a3f3f7f72811df00cdeb703d44c31fcd1500da (diff) | |
download | subsurface-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>
Diffstat (limited to 'macos.c')
-rw-r--r-- | macos.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |