summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/plugins/gtk/gtk2xtbin.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/plugins/gtk/gtk2xtbin.c')
-rw-r--r--Source/WebCore/plugins/gtk/gtk2xtbin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/plugins/gtk/gtk2xtbin.c b/Source/WebCore/plugins/gtk/gtk2xtbin.c
index e03fad3..605e42c 100644
--- a/Source/WebCore/plugins/gtk/gtk2xtbin.c
+++ b/Source/WebCore/plugins/gtk/gtk2xtbin.c
@@ -46,7 +46,9 @@
#include "xembed.h"
#include "gtk2xtbin.h"
#include <gtk/gtk.h>
+#ifdef GTK_API_VERSION_2
#include <gdk/gdkx.h>
+#endif
#include <glib.h>
#include <assert.h>
#include <sys/time.h>