[PATCH] dix: add missing include for DeleteWindowFromAnySelections

Julien Cristau jcristau at debian.org
Sat Jul 27 03:09:07 PDT 2013


Fixes build error with XACE disabled:
window.c:886:5: error: implicit declaration of function 'DeleteWindowFromAnySelections' [-Werror=implicit-function-declaration]
     DeleteWindowFromAnySelections(pWin);
     ^

Debian bug#701372

Reported-by: Matthias Klose <doko at debian.org>
Signed-off-by: Julien Cristau <jcristau at debian.org>
---
 dix/window.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/dix/window.c b/dix/window.c
index 8950f97..9fa51c2 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -126,6 +126,7 @@ Equipment Corporation.
 #ifdef COMPOSITE
 #include "compint.h"
 #endif
+#include "selection.h"
 
 #include "privates.h"
 #include "xace.h"
-- 
1.7.10.4



More information about the xorg-devel mailing list