summaryrefslogtreecommitdiffstats
path: root/libdivecomputer.c
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2013-08-07 19:17:39 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-08-07 22:22:50 +0200
commit89cb73cb2fc99367e061f933b47a5513e5a4740e (patch)
treeb81394e6d7d257d6743db44e6331ebd601f5a1f3 /libdivecomputer.c
parentde8bfe9bc337050bf5e63e853365c316735b2b06 (diff)
downloadsubsurface-89cb73cb2fc99367e061f933b47a5513e5a4740e.tar.gz
ifdef out includes when we build without gtk
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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"