From 0a9e27a94d0147d368ba54f40731ae7a5afdb832 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sun, 5 Aug 2012 15:31:42 +0200 Subject: [PATCH] Fix build error with GTK 3. --- zathura.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zathura.h b/zathura.h index bfe26de..fcb7ea5 100644 --- a/zathura.h +++ b/zathura.h @@ -9,6 +9,10 @@ #include "macros.h" #include "types.h" +#if (GTK_MAJOR_VERSION == 3) +#include +#endif + enum { NEXT, PREVIOUS, LEFT, RIGHT, UP, DOWN, BOTTOM, TOP, HIDE, HIGHLIGHT, DELETE_LAST_WORD, DELETE_LAST_CHAR, DEFAULT, ERROR, WARNING, NEXT_GROUP, PREVIOUS_GROUP, ZOOM_IN, ZOOM_OUT, ZOOM_ORIGINAL, ZOOM_SPECIFIC, FORWARD,