From 89cb73cb2fc99367e061f933b47a5513e5a4740e Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Wed, 7 Aug 2013 19:17:39 +0200 Subject: ifdef out includes when we build without gtk Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- libdivecomputer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libdivecomputer.c') 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" -- cgit v1.2.3-70-g09d2