summaryrefslogtreecommitdiff
path: root/tests/unit/plugins/logger
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-06-05 19:02:57 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-06-05 19:02:57 +0200
commit7f077822082b4d42a48506cb68c5c57a93f52e3b (patch)
treef441420a51776647ca8f56aa26943ee61db477a2 /tests/unit/plugins/logger
parent7a754d93abf68d536a4f18c8771a374a75fc5b57 (diff)
downloadweechat-7f077822082b4d42a48506cb68c5c57a93f52e3b.zip
tests: add missing include of string.h in logger tests
Diffstat (limited to 'tests/unit/plugins/logger')
-rw-r--r--tests/unit/plugins/logger/test-logger-backlog.cpp1
-rw-r--r--tests/unit/plugins/logger/test-logger-tail.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/plugins/logger/test-logger-backlog.cpp b/tests/unit/plugins/logger/test-logger-backlog.cpp
index b4925ab37..7b968c204 100644
--- a/tests/unit/plugins/logger/test-logger-backlog.cpp
+++ b/tests/unit/plugins/logger/test-logger-backlog.cpp
@@ -26,6 +26,7 @@
extern "C"
{
#include <stdio.h>
+#include <string.h>
#include "src/core/wee-arraylist.h"
#include "src/core/wee-config.h"
#include "src/gui/gui-buffer.h"
diff --git a/tests/unit/plugins/logger/test-logger-tail.cpp b/tests/unit/plugins/logger/test-logger-tail.cpp
index 68f9176b5..614cd1cea 100644
--- a/tests/unit/plugins/logger/test-logger-tail.cpp
+++ b/tests/unit/plugins/logger/test-logger-tail.cpp
@@ -27,6 +27,7 @@ extern "C"
{
#include <unistd.h>
#include <stdio.h>
+#include <string.h>
#include "src/core/wee-arraylist.h"
#include "src/core/wee-string.h"
#include "src/plugins/logger/logger-tail.h"