Implicitly include config.h in all files
authorRan Benita <ran234@gmail.com>
Fri, 6 Apr 2012 00:12:50 +0000 (03:12 +0300)
committerDaniel Stone <daniel@fooishbar.org>
Mon, 9 Apr 2012 13:16:17 +0000 (14:16 +0100)
commit8fbd44fde6c54e5f646e619e51a6e846e3c6f95b
treeb780b16194a7b10b3ea532d2721e9f60acfec9c4
parent5df53e494423cecff14d3773405b4d2d28130485
Implicitly include config.h in all files

The definitions in config.h should be available in all files an
implementation detail; it can be included through the build system
instead of having each file pull it every time.

This is especially helpful with AC_USE_SYSTEM_EXTENSIONS, as _GNU_SOURCE
and friends can have an effect by merely being defined, which can lead
to some confusion if its effective for only half the files.

And we don't really support a build _without_ config.h; so, one less
thing to worry about.

Signed-off-by: Ran Benita <ran234@gmail.com>
12 files changed:
Makefile.am
src/alloc.c
src/atom.c
src/context.c
src/keysym.c
src/map.c
src/maprules.c
src/misc.c
src/state.c
src/text.c
src/utils.h
src/xkb.c