From 47accdfa118fbffcbf7f0ca13800d1c1cbd8bdbc Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@hadrons.org>
Date: Thu, 18 Jul 2019 00:05:06 +0200
Subject: [PATCH acl 3/8] 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>
---
 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

