summaryrefslogtreecommitdiffstats
path: root/macos.c
diff options
context:
space:
mode:
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>