summaryrefslogtreecommitdiff
path: root/plugins/modelines
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/modelines')
-rw-r--r--plugins/modelines/modeline-parser.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/modelines/modeline-parser.c b/plugins/modelines/modeline-parser.c
index 2a54fd09..c1d96140 100644
--- a/plugins/modelines/modeline-parser.c
+++ b/plugins/modelines/modeline-parser.c
@@ -22,6 +22,10 @@
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
+#include <gtk/gtk.h>
+#if GTK_CHECK_VERSION (3, 0, 0)
+#include <gtksourceview/gtksource.h>
+#endif
#include <pluma/pluma-language-manager.h>
#include <pluma/pluma-prefs-manager.h>
#include <pluma/pluma-debug.h>