]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/patches/testing/breg.h
ebl update
[bacula/bacula] / bacula / patches / testing / breg.h
index e8d2e8daccc4f86119de6d8b685213cf892f06c3..746e04db42268fb725873952c5f04153eba8ed63 100644 (file)
 #ifndef __BREG_H_
 #define __BREG_H_ 1
 
-//#include "bregex.h"
+
+#ifndef HAVE_REGEX_H
+#include "bregex.h"
+#else
 #include <regex.h>
+#endif
 
 /* Usage:
  *
@@ -58,7 +62,6 @@ public:
    char *replace(const char *fname);
    void debug();
 
-
    /* private */
    POOLMEM *expr;              /* search epression */
    POOLMEM *subst;             /* substitution */