]> git.lyx.org Git - lyx.git/blobdiff - src/support/FileInfo.C
lyx-devel.diff
[lyx.git] / src / support / FileInfo.C
index 944652b9e1c3f79e0e5308521f3aafa02e0c01eb..49bd6af708c5686ef6e057f192702df9065e4de7 100644 (file)
@@ -15,8 +15,9 @@
 #pragma implementation
 #endif
 
-#include <sys/types.h>
-#include <sys/stat.h>
+//#include <sys/types.h>
+//#include <sys/stat.h>
+
 #include <cerrno>
 #include "FileInfo.h"
 
@@ -373,7 +374,7 @@ bool FileInfo::isSocket() const
 
 
 // should not be in FileInfo
-bool FileInfo::access(int p)
+bool FileInfo::access(int p) const
 {
        // if we don't have a filename we fail
        if (fname.empty()) return false;