summaryrefslogtreecommitdiffstats
path: root/macos.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-03 13:32:23 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-03 13:34:55 -0700
commit060e5c764cc66e54f422928e3921fd08dff31f69 (patch)
tree6b3ffcca0ff956fae7b42455577feb1b0fa244fa /macos.c
parentaa3838308b22dd3940e6b18cb23224356544da92 (diff)
downloadsubsurface-060e5c764cc66e54f422928e3921fd08dff31f69.tar.gz
Matching build fixes for cross built Windows
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'macos.c')
-rw-r--r--macos.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/macos.c b/macos.c
index d28ea1dae..b43849f87 100644
--- a/macos.c
+++ b/macos.c
@@ -2,7 +2,10 @@
/* implements Mac OS X specific functions */
#include <stdlib.h>
#include "dive.h"
+#include "display.h"
+#if USE_GTK_UI
#include "display-gtk.h"
+#endif /* USE_GTK_UI */
#include <CoreFoundation/CoreFoundation.h>
#include <CoreServices/CoreServices.h>
#include <mach-o/dyld.h>