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 <[email protected]> --- configure.ac | 1 - src/xf86Aiptek.h | 1 + 2 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 7c090f8..6395548 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/xf86Aiptek.h b/src/xf86Aiptek.h index 2842775..810185b 100644 --- a/src/xf86Aiptek.h +++ b/src/xf86Aiptek.h @@ -56,6 +56,7 @@ # endif #endif +#include <xorg-server.h> #include <xorgVersion.h> #ifndef XFree86LOADER -- 1.6.0.4 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
