From dec742c5fa8a8ab35b2bbe96f990a84959164f66 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 24 Sep 2021 12:31:43 +0300 Subject: Fortify tests against NDEBUG --- libbuild2/lexer.test.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libbuild2/lexer.test.cxx') diff --git a/libbuild2/lexer.test.cxx b/libbuild2/lexer.test.cxx index 6d48885..809fcd6 100644 --- a/libbuild2/lexer.test.cxx +++ b/libbuild2/lexer.test.cxx @@ -2,7 +2,6 @@ // license : MIT; see accompanying LICENSE file #include // strtoul() -#include #include #include @@ -11,6 +10,9 @@ #include #include +#undef NDEBUG +#include + using namespace std; namespace build2 -- cgit v1.1