From a8c872a95dd88f0ab794477e4f54871580cfa5a6 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 9 Jul 2021 00:49:55 +0200 Subject: [PATCH] tests/dynports: Include missing string header When compiling on Darwin, we get the following error: dynports.cc:94:5: error: no member named 'to_string' in namespace 'std' The header is not included anywhere in the headers leading to dynports.cc, so I suspect that on glibc the header is implicitly included. Adding an explicit inclusion fixes this and of course is also way more portable. Signed-off-by: aszlig --- tests/unit/dynports.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/dynports.cc b/tests/unit/dynports.cc index 953c3b7..38ca0da 100644 --- a/tests/unit/dynports.cc +++ b/tests/unit/dynports.cc @@ -1,3 +1,4 @@ +#include #include #include "dynports.hh"