===================================================================
Gbp-Pq: Name fix_kfreebsd_build
extern "C" {
# include <errno.h>
# include <sys/xattr.h>
+# if defined(Q_OS_FREEBSD) || defined(__FreeBSD_kernel__)
+# include <sys/vfs.h>
+# include <sys/mount.h>
+# endif
}
#endif
static bool fileSystemSupportsACL(const QByteArray &path)
{
bool fileSystemSupportsACLs = false;
-#ifdef Q_OS_FREEBSD
+#if defined(Q_OS_FREEBSD) || defined(__FreeBSD_kernel__)
struct statfs buf;
fileSystemSupportsACLs = (statfs(path.data(), &buf) == 0) && (buf.f_flags & MNT_ACLS);
#elif defined Q_OS_MACOS