]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/filed/filed.h
- Add a kludge to detect bad date/times, which cause a seg fault in
[bacula/bacula] / bacula / src / filed / filed.h
index 4cce69b2ac62ffede30a4319784037dfec6fdaa9..451d601bcdcb456b65821d50ae7d525a73cd0cac 100644 (file)
@@ -6,7 +6,7 @@
  *   Version $Id$
  */
 /*
-   Copyright (C) 2000, 2001, 2002 Kern Sibbald and John Walker
+   Copyright (C) 2000-2004 Kern Sibbald and John Walker
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
 
  */
 
-#include "findlib/find.h"
-#include "lib/save-cwd.h"
 #define FILE_DAEMON 1
+#include "filed_conf.h"
+#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 */