diff options
author | Ran Benita <ran234@gmail.com> | 2012-04-06 03:12:50 +0300 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2012-04-09 14:16:17 +0100 |
commit | 8fbd44fde6c54e5f646e619e51a6e846e3c6f95b (patch) | |
tree | b780b16194a7b10b3ea532d2721e9f60acfec9c4 /src/context.c | |
parent | 5df53e494423cecff14d3773405b4d2d28130485 (diff) | |
download | xorg-lib-libxkbcommon-8fbd44fde6c54e5f646e619e51a6e846e3c6f95b.tar.gz |
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>
Diffstat (limited to 'src/context.c')
-rw-r--r-- | src/context.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/context.c b/src/context.c index 8878b16..9acb416 100644 --- a/src/context.c +++ b/src/context.c @@ -23,10 +23,6 @@ * Author: Daniel Stone <daniel@fooishbar.org> */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include <sys/types.h> #include <sys/stat.h> #include <stdio.h> |