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>
This commit is contained in:
Gaetan Nadon
2010-04-15 13:09:05 -04:00
parent aaf65e7bfa
commit 9dbace89be
2 changed files with 1 additions and 1 deletions

View File

@@ -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],

View File

@@ -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>