mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 1 additions and 1 deletions
2
macos.c
2
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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue