NetBSD also supports acl_get_perm_np

Signed-off-by: gavgav <gavgav@gmx.com>
pull/319/head
gavgav 1 week ago
parent 032ed29c82
commit 87ad1e6c4d
No known key found for this signature in database
GPG Key ID: D6536B3A9241C975

@ -28,13 +28,13 @@
#if defined(USE_POSIX_ACL) && !defined(HAVE_NON_POSIX_ACL_EXTENSIIONS) #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> #include <sys/types.h>
#endif #endif
#include <sys/acl.h> #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 #define acl_get_perm acl_get_perm_np
#endif #endif

Loading…
Cancel
Save