summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgavgav <gavgav@gmx.com>2024-11-17 11:16:20 +0200
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-11-18 13:04:45 +0900
commitfa29eceb5f8cb1e8c105cf1a5e9e22fcc2b38cbd (patch)
tree4f3f1fc35bbba5dffd932ec1adfde5735695fff7
parent3e8e587b8b025c149f627b3b37ac86206df94cb2 (diff)
downloadtdelibs-fa29eceb5f8cb1e8c105cf1a5e9e22fcc2b38cbd.tar.gz
tdelibs-fa29eceb5f8cb1e8c105cf1a5e9e22fcc2b38cbd.zip
NetBSD also supports acl_get_perm_np
Signed-off-by: gavgav <gavgav@gmx.com> (cherry picked from commit 87ad1e6c4d56fb52faa0d1af4afe5c33f05e6dca)
-rw-r--r--tdeio/tdeio/posixacladdons.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeio/tdeio/posixacladdons.h b/tdeio/tdeio/posixacladdons.h
index 45c4af245..720ae0f5d 100644
--- a/tdeio/tdeio/posixacladdons.h
+++ b/tdeio/tdeio/posixacladdons.h
@@ -28,13 +28,13 @@
#if defined(USE_POSIX_ACL) && !defined(HAVE_NON_POSIX_ACL_EXTENSIIONS)
-#ifdef Q_OS_FREEBSD
+#if defined Q_OS_FREEBSD || defined Q_OS_NETBSD
#include <sys/types.h>
#endif
#include <sys/acl.h>
-#ifdef Q_OS_FREEBSD
+#if defined Q_OS_FREEBSD || defined Q_OS_NETBSD
#define acl_get_perm acl_get_perm_np
#endif