diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-12-18 03:42:35 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-22 01:13:17 +0100 |
commit | d6ccd4439044978a6dcc01b8c1ab880b6164f9d1 (patch) | |
tree | ba8360f6e0177fa9ad13d1b794a21cae00bdbc01 /lib/libalpm/package.h | |
parent | 6c1426842af7de1343b8360e2d0ca52846ea4a2f (diff) | |
download | pacman-d6ccd4439044978a6dcc01b8c1ab880b6164f9d1.tar.gz pacman-d6ccd4439044978a6dcc01b8c1ab880b6164f9d1.tar.xz |
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 <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r-- | lib/libalpm/package.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h index 82a83264..172d2f36 100644 --- a/lib/libalpm/package.h +++ b/lib/libalpm/package.h @@ -24,8 +24,6 @@ #ifndef _ALPM_PACKAGE_H #define _ALPM_PACKAGE_H -#include "config.h" /* ensure off_t is correct length */ - #include <sys/types.h> /* off_t */ #include "alpm.h" |