summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
Diffstat (limited to 'tdeio')
-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