diff --git a/tools/stat.cpp b/tools/stat.cpp index 7b7be87..2ddac94 100644 --- a/tools/stat.cpp +++ b/tools/stat.cpp @@ -1,25 +1,28 @@ #include -#include -#include "../acl.hpp" #include #include #include #include #include +#include #include #include #include -#include #include #include //----------------------------------------------------------------------------- +#if !defined(PLATFORM_WIN32) +#include + +#include "acl.hpp" + void do_xattr (char const *path) { std::cout << ", xattr: "; @@ -75,6 +78,11 @@ void do_acl (char const *path) std::cout << cruft::acl (path, ACL_TYPE_ACCESS) << '\n'; } +#else +void do_xattr (char const *) { } +void do_acl (char const *) { } +#endif + /////////////////////////////////////////////////////////////////////////////// int main (int argc, char **argv)