summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-04-18 15:24:59 -0400
committerGaetan Nadon <memsize@videotron.ca>2010-06-11 15:44:26 -0400
commit25722aa12bfbb5675a02d7d8520ae83fdc5735c8 (patch)
tree4fe79c8811f92a0ac6622068be50748e384993a9
parent3de065d6822206695c0aee2fd68cd9db8b2f3063 (diff)
config: remove AH_TOP autoheader statement
The generated config.h does not need to include xorg-server.h for the content it provides. Add #include <xorg-server.h> in .[hc] files as needed. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--configure.ac1
-rw-r--r--src/backend_bsd.c1
-rw-r--r--src/backend_evdev.c1
-rw-r--r--src/backend_joystick.c1
-rw-r--r--src/jstk.c1
-rw-r--r--src/jstk_axis.c1
-rw-r--r--src/jstk_key.c1
-rw-r--r--src/jstk_options.c1
-rw-r--r--src/jstk_properties.c1
9 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ce6215d..76967f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,7 +45,6 @@ AC_DISABLE_STATIC
AC_PROG_LIBTOOL
AC_PROG_CC
-AH_TOP([#include "xorg-server.h"])
AC_ARG_WITH(xorg-module-dir,
AC_HELP_STRING([--with-xorg-module-dir=DIR],
diff --git a/src/backend_bsd.c b/src/backend_bsd.c
index 71f4168..c6ce7b4 100644
--- a/src/backend_bsd.c
+++ b/src/backend_bsd.c
@@ -30,6 +30,7 @@
#include "config.h"
#endif
+#include <xorg-server.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/ioctl.h>
diff --git a/src/backend_evdev.c b/src/backend_evdev.c
index de061d3..c506167 100644
--- a/src/backend_evdev.c
+++ b/src/backend_evdev.c
@@ -29,6 +29,7 @@
#include "config.h"
#endif
+#include <xorg-server.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/ioctl.h>
diff --git a/src/backend_joystick.c b/src/backend_joystick.c
index b69f932..e61d908 100644
--- a/src/backend_joystick.c
+++ b/src/backend_joystick.c
@@ -32,6 +32,7 @@
#include "config.h"
#endif
+#include <xorg-server.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/ioctl.h>
diff --git a/src/jstk.c b/src/jstk.c
index a2e927c..95fb093 100644
--- a/src/jstk.c
+++ b/src/jstk.c
@@ -26,6 +26,7 @@
#include "config.h"
#endif
+#include <xorg-server.h>
#include <stdio.h>
#include <xorgVersion.h>
diff --git a/src/jstk_axis.c b/src/jstk_axis.c
index b314122..dc648f9 100644
--- a/src/jstk_axis.c
+++ b/src/jstk_axis.c
@@ -27,6 +27,7 @@
#include "config.h"
#endif
+#include <xorg-server.h>
#include <xf86Xinput.h>
#include <xf86_OSproc.h>
#include <math.h>
diff --git a/src/jstk_key.c b/src/jstk_key.c
index fb1f52e..c841cf0 100644
--- a/src/jstk_key.c
+++ b/src/jstk_key.c
@@ -28,6 +28,7 @@
#endif
+#include <xorg-server.h>
#include <xf86.h>
#include <xf86Xinput.h>
#include <X11/extensions/XKBsrv.h>
diff --git a/src/jstk_options.c b/src/jstk_options.c
index 42293a7..4ce9d36 100644
--- a/src/jstk_options.c
+++ b/src/jstk_options.c
@@ -26,6 +26,7 @@
#include "config.h"
#endif
+#include <xorg-server.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/jstk_properties.c b/src/jstk_properties.c
index 1ceeb06..2ef976c 100644
--- a/src/jstk_properties.c
+++ b/src/jstk_properties.c
@@ -25,6 +25,7 @@
#include "config.h"
#endif
+#include <xorg-server.h>
#include <xf86Module.h>
#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 3