]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/var.c
Fix reporting jobs from state file + misc
[bacula/bacula] / bacula / src / lib / var.c
index ffdbc5c8327fb9fbcfe78c95a5a06da698fdb1f3..1f1050e5b9f63f06a783ca6163dda312fbfc41a4 100644 (file)
@@ -18,7 +18,7 @@
  *  Adapted by Kern Sibbald to Bacula June 2003
  */
 /*
-   Copyright (C) 2000-2003 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
@@ -37,7 +37,7 @@
 
  */
 
-
+#ifndef HAVE_WIN32
 #include "bacula.h"
 #if defined(HAVE_PCREPOSIX)
 #  include <pcreposix.h>
@@ -2716,3 +2716,4 @@ char *var_strerror(var_t *var, var_rc_t rc)
     }
     return str;
 }
+#endif