summaryrefslogtreecommitdiff
path: root/gtk/gtktextmarkprivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtktextmarkprivate.h')
-rw-r--r--gtk/gtktextmarkprivate.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtktextmarkprivate.h b/gtk/gtktextmarkprivate.h
index 08b64fac00..07ebc2aeda 100644
--- a/gtk/gtktextmarkprivate.h
+++ b/gtk/gtktextmarkprivate.h
@@ -1,12 +1,13 @@
#ifndef GTK_TEXT_MARK_PRIVATE_H
#define GTK_TEXT_MARK_PRIVATE_H
-#include <gtk/gtktexttypes.h>
-
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
+#include <gtk/gtktexttypes.h>
+#include <gtk/gtktextlayout.h>
+
#define GTK_IS_TEXT_MARK(mark) (((GtkTextLineSegment*)mark)->type == &gtk_text_left_mark_type || \
((GtkTextLineSegment*)mark)->type == &gtk_text_right_mark_type)