NetBSD also supports acl_get_perm_np

Signed-off-by: gavgav <gavgav@gmx.com>
pull/319/head
gavgav 7 days 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)
#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