dix: add missing include for DeleteWindowFromAnySelections
authorJulien Cristau <jcristau@debian.org>
Sat, 27 Jul 2013 10:09:07 +0000 (12:09 +0200)
committerKeith Packard <keithp@keithp.com>
Sun, 18 Aug 2013 00:39:44 +0000 (02:39 +0200)
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@debian.org>
Signed-off-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
dix/window.c

index 8950f97..9fa51c2 100644 (file)
@@ -126,6 +126,7 @@ Equipment Corporation.
 #ifdef COMPOSITE
 #include "compint.h"
 #endif
+#include "selection.h"
 
 #include "privates.h"
 #include "xace.h"