xfree86: Fix compiler warnings (implicit declarations)
Add missing includes to fix the following warnings: xf86DGA.c: In function 'DGAProcessKeyboardEvent': xf86DGA.c:1050: warning: implicit declaration of function 'UpdateDeviceState' xf86DGA.c:1050: warning: nested extern declaration of 'UpdateDeviceState' xf86Xinput.c: In function 'xf86ActivateDevice': xf86Xinput.c:303: warning: implicit declaration of function 'AssignTypeAndName' xf86Xinput.c:303: warning: nested extern declaration of 'AssignTypeAndName' xf86Xinput.c:311: warning: implicit declaration of function 'DeviceIsPointerType' xf86Xinput.c:311: warning: nested extern declaration of 'DeviceIsPointerType' xf86Xinput.c:324: warning: implicit declaration of function 'XkbSetExtension' xf86Xinput.c:324: warning: nested extern declaration of 'XkbSetExtension'
This commit is contained in:
parent
add946daed
commit
aee514cfb5
|
@ -47,6 +47,7 @@
|
|||
#endif
|
||||
#include "xf86Xinput.h"
|
||||
#include "exglobals.h"
|
||||
#include "exevents.h"
|
||||
|
||||
#include "mi.h"
|
||||
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
#include "mipointer.h"
|
||||
#include "xf86InPriv.h"
|
||||
#include "compiler.h"
|
||||
#include "extinit.h"
|
||||
|
||||
#ifdef DPMSExtension
|
||||
#define DPMS_SERVER
|
||||
|
@ -89,6 +90,10 @@
|
|||
#include "dgaproc.h"
|
||||
#endif
|
||||
|
||||
#ifdef XKB
|
||||
#include "xkbsrv.h"
|
||||
#endif
|
||||
|
||||
#include "os.h"
|
||||
|
||||
EventListPtr xf86Events = NULL;
|
||||
|
|
Loading…
Reference in New Issue