summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-04 15:18:39 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-04 15:19:45 +1000
commitc719553dac875824b2d2a8f7714a89998ab4828d (patch)
tree2be64b9b421b15d31d7fa51fd23965eff05151ec
parent07f0588bbd85655ba7d2ef4d2a3f4a62ddb638bc (diff)
Don't auto-include xorg-server.h in config.h
config.h is needed by synclient/syndaemon, and including xorg-server.h leads to funny results on 64 bit machines. Not "ha ha" funny though. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--configure.ac2
-rw-r--r--src/synaptics.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index f0397c4..a465fd3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,8 +42,6 @@ AC_DISABLE_STATIC
AC_PROG_LIBTOOL
AC_PROG_CC
-AH_TOP([#include "xorg-server.h"])
-
AC_MSG_CHECKING([which optional backends will be build])
case "${host}" in
*linux*)
diff --git a/src/synaptics.c b/src/synaptics.c
index 1fe8805..ec85fba 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -72,6 +72,7 @@
#include "mipointer.h"
#endif
+#include "xorg-server.h"
#include "synaptics.h"
#include "synapticsstr.h"
#include "synaptics-properties.h"