acl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Acl-devel] [PATCH acl 3/8] Define ENODATA if it is not defined


From: Guillem Jover
Subject: [Acl-devel] [PATCH acl 3/8] Define ENODATA if it is not defined
Date: Sat, 20 Jul 2019 04:24:34 +0200

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 <address@hidden>
---
 libacl/libacl.h | 3 +++
 1 file changed, 3 insertions(+)

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;
 
-- 
2.22.0.657.g960e92d24f




reply via email to

[Prev in Thread] Current Thread [Next in Thread]