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/atom.c | |
parent | 5df53e494423cecff14d3773405b4d2d28130485 (diff) | |
download | libxkbcommon-8fbd44fde6c54e5f646e619e51a6e846e3c6f95b.tar.gz libxkbcommon-8fbd44fde6c54e5f646e619e51a6e846e3c6f95b.tar.bz2 libxkbcommon-8fbd44fde6c54e5f646e619e51a6e846e3c6f95b.zip |
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/atom.c')
-rw-r--r-- | src/atom.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -70,9 +70,6 @@ SOFTWARE. ********************************************************/ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif #include "xkbmisc.h" #include "xkbcommon/xkbcommon.h" #include "XKBcommonint.h" |