*/
-#include "findlib/find.h"
-#include "lib/save-cwd.h"
#define FILE_DAEMON 1
+#include "findlib/find.h"
#include "jcr.h"
#include "protos.h" /* file daemon prototypes */
#include "filed_conf.h"
#ifdef HAVE_LIBZ
-#include <zlib.h> /* compression headers */
+#include <zlib.h> /* compression headers */
#else
#define uLongf uint32_t
#endif
-extern int win32_client; /* Are we running on Windows? */
+extern const int win32_client; /* Are we running on Windows? */
+
+extern CLIENT *me; /* "Global" Client resource */