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/keysym.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/keysym.c')
-rw-r--r-- | src/keysym.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/keysym.c b/src/keysym.c index 8f6515d..5079419 100644 --- a/src/keysym.c +++ b/src/keysym.c @@ -25,9 +25,6 @@ sale, use or other dealings in this Software without prior written authorization from the authors. */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif #include <stdlib.h> #include <stdio.h> #include <string.h> |