This patch silences the following compilation warning:

  window.c: In function ‘FreeWindowResources’:
  window.c:815: warning: implicit declaration of function 
‘DeleteWindowFromAnySelections’
  window.c:815: warning: nested extern declaration of 
‘DeleteWindowFromAnySelections’

Signed-off-by: Fernando Carrijo <[email protected]>
---
I'm not sure whether selection.h belongs there, so any review is apreciated.

 dix/window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dix/window.c b/dix/window.c
index 8f3ffa3..ebd3ac3 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -108,6 +108,7 @@ Equipment Corporation.
 #include "regionstr.h"
 #include "validate.h"
 #include "windowstr.h"
+#include "selection.h" /* DeleteWindowFromAnySelections */
 #include "input.h"
 #include "inputstr.h"
 #include "resource.h"
-- 
1.7.0.4


_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to