ACL compilation fix

Bongani Hlope bhlope at mweb.co.za
Sat Sep 3 07:02:52 BST 2005


Hi

Files like: kio/kfile/kacleditwidget_p.h, include kacl.h for the definations 
of <sys/acl.h>. But  <sys/acl.h> is not included in kacl.h, it's only include 
in kacl.cpp. 

This fixes the copile form me.

Index: kio/kio/kacl.cpp
===================================================================
--- kio/kio/kacl.cpp    (revision 456512)
+++ kio/kio/kacl.cpp    (working copy)
@@ -21,7 +21,6 @@
 #include <sys/types.h>
 #include <pwd.h>
 #include <grp.h>
-#include <sys/acl.h>
 #include <sys/stat.h>
 #include <acl/libacl.h>
 #include <qintdict.h>
Index: kio/kio/kacl.h
===================================================================
--- kio/kio/kacl.h      (revision 456512)
+++ kio/kio/kacl.h      (working copy)
@@ -22,6 +22,7 @@


 #include <sys/types.h>
+#include <sys/acl.h>
 #include <kio/global.h>






More information about the kde-core-devel mailing list