summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-05 11:47:41 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-05 11:54:35 +1000
commit4d5a41ca574b1462889d4423cfdbc008132aa9c2 (patch)
treeae7b786bdf56e9d4933d182d055bf2a03d11fc52 /src
parent2a93e92d493050398f993fda50c5e7a445a946de (diff)
include xorg-server.h from all driver source files.
This fixes the 64-bit issues with 1.0.99.3. Not having xorg-server.h included in time means we miss out on _XSERVER64, which leads to different sizes of the LocalDeviceRec struct in the driver and the server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/alpscomm.c1
-rw-r--r--src/eventcomm.c1
-rw-r--r--src/properties.c1
-rw-r--r--src/ps2comm.c1
-rw-r--r--src/psmcomm.c1
-rw-r--r--src/synaptics.c2
6 files changed, 6 insertions, 1 deletions
diff --git a/src/alpscomm.c b/src/alpscomm.c
index 5a17af7..908f949 100644
--- a/src/alpscomm.c
+++ b/src/alpscomm.c
@@ -32,6 +32,7 @@
#include "config.h"
#endif
+#include <xorg-server.h>
#include "alpscomm.h"
#include "synproto.h"
#include "synaptics.h"
diff --git a/src/eventcomm.c b/src/eventcomm.c
index c917c80..c7c5018 100644
--- a/src/eventcomm.c
+++ b/src/eventcomm.c
@@ -28,6 +28,7 @@
#include "config.h"
#endif
+#include <xorg-server.h>
#include "eventcomm.h"
#include <errno.h>
#include <sys/types.h>
diff --git a/src/properties.c b/src/properties.c
index 681f77f..0861ae0 100644
--- a/src/properties.c
+++ b/src/properties.c
@@ -27,6 +27,7 @@
#include "config.h"
#endif
+#include <xorg-server.h>
#include "xf86Module.h"
#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 3
diff --git a/src/ps2comm.c b/src/ps2comm.c
index 7dceb04..6c62918 100644
--- a/src/ps2comm.c
+++ b/src/ps2comm.c
@@ -36,6 +36,7 @@
#include "config.h"
#endif
+#include <xorg-server.h>
#include "ps2comm.h"
#include "synproto.h"
#include "synaptics.h"
diff --git a/src/psmcomm.c b/src/psmcomm.c
index dcdde74..c29a8df 100644
--- a/src/psmcomm.c
+++ b/src/psmcomm.c
@@ -38,6 +38,7 @@
#include "config.h"
#endif
+#include <xorg-server.h>
#include "psmcomm.h"
#include <errno.h>
#include <string.h>
diff --git a/src/synaptics.c b/src/synaptics.c
index ec85fba..ddefecf 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -58,6 +58,7 @@
#include "config.h"
#endif
+#include <xorg-server.h>
#include <unistd.h>
#include <misc.h>
#include <xf86.h>
@@ -72,7 +73,6 @@
#include "mipointer.h"
#endif
-#include "xorg-server.h"
#include "synaptics.h"
#include "synapticsstr.h"
#include "synaptics-properties.h"