--- xorg-server-1.12.4/dix/window.c	2012-05-17 14:09:02.000000000 -0300
+++ xorg-server-1.12.4.good/dix/window.c	2013-04-18 11:53:06.787521781 -0300
@@ -131,6 +131,8 @@
 #include "xace.h"
 #include "exevents.h"
 
+#include "selection.h"
+
 #include <X11/Xatom.h>          /* must come after server includes */
 
 /******
