NetBSD also supports acl_get_perm_np

Signed-off-by: gavgav <gavgav@gmx.com>
(cherry picked from commit 87ad1e6c4d)
r14.1.x
gavgav 4 days ago committed by Michele Calgaro
parent 3e8e587b8b
commit fa29eceb5f
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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

Loading…
Cancel
Save