summaryrefslogtreecommitdiff
path: root/test/test-util.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-util.hpp')
-rw-r--r--test/test-util.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test-util.hpp b/test/test-util.hpp
index 5b2a968..3338c5e 100644
--- a/test/test-util.hpp
+++ b/test/test-util.hpp
@@ -3,6 +3,7 @@
#include <connectionPool.h>
#include <filesystem>
#include <pq-mock.h>
+#include <sys/utsname.h>
namespace WebStat {
#define XSTR(s) STR(s)
@@ -33,4 +34,6 @@ namespace WebStat {
};
template<typename Out> using ParseData = std::tuple<std::string_view, Out>;
+
+ utsname getTestUtsName(std::string_view);
}