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 /libacl/acl_set_fd.c | |
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 'libacl/acl_set_fd.c')
-rw-r--r-- | libacl/acl_set_fd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libacl/acl_set_fd.c b/libacl/acl_set_fd.c index 38dcd4a..37a80dd 100644 --- a/libacl/acl_set_fd.c +++ b/libacl/acl_set_fd.c @@ -19,6 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "config.h" #include <unistd.h> #include <sys/xattr.h> #include "libacl.h" |