From d6ccd4439044978a6dcc01b8c1ab880b6164f9d1 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sat, 17 Dec 2011 21:42:35 -0500 Subject: include config.h via Makefiles Ensures that config.h is always ordered correctly (first) in the includes. Also means that new source files get this for free without having to remember to add it. We opt for -imacros over -include as its more portable, and the added constraint by -imacros doesn't bother us for config.h. This also touches the HACKING file to remove the explicit mention of config.h as part of the includes. Signed-off-by: Dave Reisner Signed-off-by: Dan McGee --- lib/libalpm/alpm.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/libalpm/alpm.c') diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index e957f1aa..3f7ab4ba 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -21,8 +21,6 @@ * along with this program. If not, see . */ -#include "config.h" - #ifdef HAVE_LIBCURL #include #endif -- cgit v1.2.3-70-g09d2