summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/profile.c b/profile.c
index bd395f127..f30ff1d06 100644
--- a/profile.c
+++ b/profile.c
@@ -6,7 +6,9 @@
#include "dive.h"
#include "display.h"
+#if USE_GTK_UI
#include "display-gtk.h"
+#endif
#include "divelist.h"
#include "color.h"
#include "libdivecomputer/parser.h"