summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2008-10-26 11:16:05 +0100
committerJulien Cristau <jcristau@debian.org>2008-10-26 11:44:11 +0100
commitaee514cfb5e5a59b7770699765ccdad8fe42f904 (patch)
treea9899c668883e5711929fff0ed703613cf2e3f5b
parentadd946daed531e29935593fb2e7ee70286185baf (diff)
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'
-rw-r--r--hw/xfree86/common/xf86DGA.c1
-rw-r--r--hw/xfree86/common/xf86Xinput.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/hw/xfree86/common/xf86DGA.c b/hw/xfree86/common/xf86DGA.c
index 83a1a6592..83bc411af 100644
--- a/hw/xfree86/common/xf86DGA.c
+++ b/hw/xfree86/common/xf86DGA.c
@@ -47,6 +47,7 @@
#endif
#include "xf86Xinput.h"
#include "exglobals.h"
+#include "exevents.h"
#include "mi.h"
diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c
index d4040481c..f99bfb700 100644
--- a/hw/xfree86/common/xf86Xinput.c
+++ b/hw/xfree86/common/xf86Xinput.c
@@ -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;