summaryrefslogtreecommitdiff
path: root/src/atom.c
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-04-06 03:12:50 +0300
committerDaniel Stone <daniel@fooishbar.org>2012-04-09 14:16:17 +0100
commit8fbd44fde6c54e5f646e619e51a6e846e3c6f95b (patch)
treeb780b16194a7b10b3ea532d2721e9f60acfec9c4 /src/atom.c
parent5df53e494423cecff14d3773405b4d2d28130485 (diff)
downloadlibxkbcommon-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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/atom.c b/src/atom.c
index d4076c4..181744d 100644
--- a/src/atom.c
+++ b/src/atom.c
@@ -70,9 +70,6 @@ SOFTWARE.
********************************************************/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
#include "xkbmisc.h"
#include "xkbcommon/xkbcommon.h"
#include "XKBcommonint.h"