summaryrefslogtreecommitdiffstats
path: root/libdivecomputer.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdivecomputer.c')
-rw-r--r--libdivecomputer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdivecomputer.c b/libdivecomputer.c
index 2638376b8..0a8ba0487 100644
--- a/libdivecomputer.c
+++ b/libdivecomputer.c
@@ -7,7 +7,9 @@
#include "device.h"
#include "divelist.h"
#include "display.h"
+#ifdef USE_GTK_UI
#include "display-gtk.h"
+#endif
#include "libdivecomputer.h"
#include "libdivecomputer/version.h"