diff options
author | Yury Usishchev <y.usishchev@samsung.com> | 2016-02-15 18:17:32 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-02-15 12:42:47 -0500 |
commit | a444bb67e9a314a6e4e9b5c1e966b43aa02ec85a (patch) | |
tree | 38122aa82f23abdd548fa12ab2e69160e3b6eacd /test | |
parent | 876b9da17f37102985f9493ba75ecaaa34429a83 (diff) | |
download | acl-a444bb67e9a314a6e4e9b5c1e966b43aa02ec85a.tar.gz |
Rework config.h usage
Move #include "config.h" from misc.h to every source file. It's incorrect
to include it after a system header file because it does things like:
Those must come before you include any system header file in order for
them to work properly. It hasn't bitten us so far, but we still should
fix the files to do the right thing.
Diffstat (limited to 'test')
-rw-r--r-- | test/test_group.c | 1 | ||||
-rw-r--r-- | test/test_passwd.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/test_group.c b/test/test_group.c index 7fe6a19..0245d0c 100644 --- a/test/test_group.c +++ b/test/test_group.c @@ -1,3 +1,4 @@ +#include "config.h" #include <sys/types.h> #include <stdio.h> #include <string.h> diff --git a/test/test_passwd.c b/test/test_passwd.c index b5052f8..e05239e 100644 --- a/test/test_passwd.c +++ b/test/test_passwd.c @@ -1,3 +1,4 @@ +#include "config.h" #include <sys/types.h> #include <stdio.h> #include <string.h> |