From 8fbd44fde6c54e5f646e619e51a6e846e3c6f95b Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Fri, 6 Apr 2012 03:12:50 +0300 Subject: 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 --- src/atom.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/atom.c') 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 -#endif #include "xkbmisc.h" #include "xkbcommon/xkbcommon.h" #include "XKBcommonint.h" -- cgit v1.2.1