aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbuild2/script/regex.test.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/script/regex.test.cxx b/libbuild2/script/regex.test.cxx
index 9ec2432..6659d39 100644
--- a/libbuild2/script/regex.test.cxx
+++ b/libbuild2/script/regex.test.cxx
@@ -4,6 +4,9 @@
#include <regex>
#include <type_traits> // is_*
+#include <libbuild2/types.hxx>
+#include <libbuild2/utility.hxx>
+
#include <libbuild2/script/regex.hxx>
#undef NDEBUG
@@ -15,6 +18,8 @@ using namespace build2::script::regex;
int
main ()
{
+ build2::init_process ();
+
using lc = line_char;
using ls = line_string;
using lr = line_regex;