diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2016-12-11 17:47:32 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2016-12-11 17:52:36 +0100 |
commit | c1a7b53073202c67becf4df36cadc32ef4759c8a (patch) | |
tree | d89e85ca95622c282c3e1bec7e3a6387eecbd255 | |
parent | f94c5ea5938ac8d16e6ad22d878381fb582634c5 (diff) | |
download | attr-c1a7b53073202c67becf4df36cadc32ef4759c8a.tar.gz |
setfacl: Include errno.h
In file tools/setfattr.c:33:0, gcc -Wcpp complains that including
<sys/errno.h> is incorrect and that <errno.h> should be included
instead. Reported by Matias A. Fonzo <selk@dragora.org>.
-rw-r--r-- | tools/setfattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/setfattr.c b/tools/setfattr.c index 6f79d8f..ad8f35d 100644 --- a/tools/setfattr.c +++ b/tools/setfattr.c @@ -30,7 +30,7 @@ #include <ctype.h> #include <libgen.h> #include <sys/xattr.h> -#include <sys/errno.h> +#include <errno.h> #include "misc.h" |