[PATCH input-evdev 01/10] config: remove AH_TOP autoheader statement

Gaetan Nadon memsize at videotron.ca
Sat Apr 17 16:28:01 PDT 2010


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 at videotron.ca>
---
 configure.ac |    1 -
 src/evdev.c  |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2a6cf3b..b9807e1 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/evdev.c b/src/evdev.c
index 66b746a..d7872e9 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -30,6 +30,7 @@
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
+#include <xorg-server.h>
 
 #include <X11/keysym.h>
 #include <X11/extensions/XI.h>
-- 
1.6.0.4



More information about the xorg-devel mailing list