summaryrefslogtreecommitdiff
path: root/src/analysis/block.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/block.h')
-rw-r--r--src/analysis/block.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/analysis/block.h b/src/analysis/block.h
index 63f0be0..401b520 100644
--- a/src/analysis/block.h
+++ b/src/analysis/block.h
@@ -33,7 +33,9 @@
#include "../arch/instruction.h"
#include "../arch/vmpa.h"
#include "../common/bits.h"
-#include "../glibext/bufferview.h"
+#ifdef INCLUDE_GTK_SUPPORT
+# include "../glibext/bufferview.h"
+#endif
#include "../glibext/linesegment.h"
@@ -74,12 +76,16 @@ size_t g_code_block_get_rank(const GCodeBlock *);
/* Définit le rang du bloc de code dans le flot d'exécution. */
void g_code_block_set_rank(GCodeBlock *, size_t);
+#ifdef INCLUDE_GTK_SUPPORT
+
/* Fournit la représentation graphique d'un bloc de code. */
GBufferView *g_code_block_get_view(GCodeBlock *, segcnt_list *);
/* Construit un ensemble d'indications pour bloc. */
char *g_code_block_build_tooltip(const GCodeBlock *);
+#endif
+
/* ------------------- DEFINITION DE LIAISONS ENTRE BLOCS DE CODE ------------------- */