On Mon, Apr 12, 2010 at 05:09:58PM -0400, [email protected] wrote: > From: Gaetan Nadon <[email protected]> > > 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 | 2 -- > src/acecad.c | 1 + > 2 files changed, 1 insertions(+), 2 deletions(-) > > diff --git a/configure.ac b/configure.ac > index d71f9d7..fd7d1cc 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -45,8 +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], > [Default xorg module directory > [[default=$libdir/xorg/modules]]]), > diff --git a/src/acecad.c b/src/acecad.c > index 61e4c21..a30dc0d 100644 > --- a/src/acecad.c > +++ b/src/acecad.c > @@ -26,6 +26,7 @@ > > #include "config.h" > > +#include <xorg-server.h> > #include <xorgVersion.h> > #define XORG_VERSION_BOTCHED XORG_VERSION_NUMERIC(1,4,0,0,0) > #if XORG_VERSION_CURRENT >= XORG_VERSION_BOTCHED > -- > 1.6.0.4
Acked-by: Peter Hutterer <[email protected]> for the series except the comment on 5/7. feel free to push once that's amended. Cheers, Peter _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
