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>
This commit is contained in:
parent
11a3f3f7f7
commit
92fbbd4c22
2
macos.c
2
macos.c
@ -4,7 +4,7 @@
|
|||||||
#include "dive.h"
|
#include "dive.h"
|
||||||
#include "display-gtk.h"
|
#include "display-gtk.h"
|
||||||
#include <CoreFoundation/CoreFoundation.h>
|
#include <CoreFoundation/CoreFoundation.h>
|
||||||
#include <LaunchServices/LSOpen.h>
|
#include <CoreServices/CoreServices.h>
|
||||||
#include <mach-o/dyld.h>
|
#include <mach-o/dyld.h>
|
||||||
#include "gtkosxapplication.h"
|
#include "gtkosxapplication.h"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user