xfixes: cursor.c should include header for CursorVisible & EnableCursor
Clears warnings from clang 19.1.7:
xfixes/cursor.c:132:6: warning: no previous extern declaration for
non-static variable 'CursorVisible' [-Wmissing-variable-declarations]
132 | Bool CursorVisible = FALSE;
| ^
xfixes/cursor.c:133:6: warning: no previous extern declaration for
non-static variable 'EnableCursor' [-Wmissing-variable-declarations]
133 | Bool EnableCursor = TRUE;
| ^
Fixes: 2cec3cfbf
("include: move private definitions out of input.h")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1910>
This commit is contained in:
parent
b490578242
commit
14e202d6a0
|
@ -46,6 +46,7 @@
|
|||
|
||||
#include "dix/cursor_priv.h"
|
||||
#include "dix/dix_priv.h"
|
||||
#include "dix/input_priv.h"
|
||||
|
||||
#include "xfixesint.h"
|
||||
#include "scrnintstr.h"
|
||||
|
|
Loading…
Reference in New Issue