diff --git a/src/kits/storage/PathMonitor.cpp b/src/kits/storage/PathMonitor.cpp index 27ee2f1fae..cb66b2e5ab 100644 --- a/src/kits/storage/PathMonitor.cpp +++ b/src/kits/storage/PathMonitor.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2007-2008, Haiku Inc. All Rights Reserved. + * Copyright 2007-2013, Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. * * Authors: @@ -10,7 +10,12 @@ #include -#include +#include +#include + +#include +#include +#include #include #include @@ -21,10 +26,8 @@ #include #include -#include -#include -#include -#include +#include + #undef TRACE //#define TRACE_PATH_MONITOR @@ -34,10 +37,12 @@ # define TRACE(x...) ; #endif + using namespace BPrivate; using namespace std; using std::nothrow; // TODO: Remove this line if the above line is enough. + // TODO: Use optimizations where stuff is already known to avoid iterating // the watched directory and files set too often.