From 79cebdbea8d8c7d8b89ebbd5d259d341139dec01 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 20 Jul 2019 04:24:34 +0200 Subject: 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 --- 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; -- cgit v1.2.1