--- gtk/gtksettings.c	2015-06-29 22:00:37.505915150 +0000
+++ gtk/gtksettings.c	2015-06-29 19:44:45.656810831 +0000
@@ -41,6 +41,7 @@
 
 #ifdef GDK_WINDOWING_WAYLAND
 #include "wayland/gdkwayland.h"
+#include <pango/pangofc-fontmap.h>
 #endif
 
 #ifdef GDK_WINDOWING_BROADWAY
