Index: kio/src/widgets/kpropertiesdialog.cpp
===================================================================
--- kio.orig/src/widgets/kpropertiesdialog.cpp	2015-06-29 00:13:31.825361483 +0200
+++ kio/src/widgets/kpropertiesdialog.cpp	2015-07-07 10:56:53.101498107 +0200
@@ -75,6 +75,10 @@
 #if HAVE_POSIX_ACL
 extern "C" {
 #  include <sys/xattr.h>
+#  if defined(Q_OS_FREEBSD) || defined(__FreeBSD_kernel__)
+#     include <sys/vfs.h>
+#     include <sys/mount.h>
+#  endif
 }
 #endif
 
@@ -1915,7 +1919,7 @@
 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);
 #else
