]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/var.c
kes If doing a mount, look for a slot, and if specified pass it to
[bacula/bacula] / bacula / src / lib / var.c
index 14a59227c1a1e25030e369d759a46d9a3407616c..14289b19a8edece5f81d4415241a08e9abc6ad04 100644 (file)
 
  */
 
-#ifndef HAVE_WIN32
 #include "bacula.h"
 #if defined(HAVE_PCREPOSIX)
 #  include <pcreposix.h>
+#elif defined(HAVE_WIN32)
+#  include "bregex.h"
 #else
 #  include <regex.h>
 #endif
@@ -2716,4 +2717,3 @@ const char *var_strerror(var_t *var, var_rc_t rc)
     }
     return str;
 }
-#endif