diff options
author | Guillem Jover <guillem@hadrons.org> | 2019-07-20 04:24:34 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-11-12 21:41:19 +0700 |
commit | 79cebdbea8d8c7d8b89ebbd5d259d341139dec01 (patch) | |
tree | 439d90042f506d0d87ba55a188d77f8edcc9700b /libacl | |
parent | 65c5d72e311294dcf823a35bb195ed7241845537 (diff) | |
download | acl-79cebdbea8d8c7d8b89ebbd5d259d341139dec01.tar.gz |
Define ENODATA if it is not defined
On GNU/kFreeBSD ENODATA is not defined, so we need to define it instead
to ENOATTR which is defined there. This is a regression from the upstream
build system modernization.
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Diffstat (limited to 'libacl')
-rw-r--r-- | libacl/libacl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libacl/libacl.h b/libacl/libacl.h index 9e7d75f..4040b9a 100644 --- a/libacl/libacl.h +++ b/libacl/libacl.h @@ -25,6 +25,9 @@ #ifndef ENOATTR # define ENOATTR ENODATA #endif +#ifndef ENODATA +# define ENODATA ENOATTR +#endif typedef unsigned int permset_t; |