summaryrefslogtreecommitdiff
path: root/tests/unit/core/test-core-signal.cpp
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-03-06 21:35:09 +0100
committerSébastien Helleu <flashcode@flashtux.org>2022-03-10 21:12:46 +0100
commit5d809df6ede402920543fd7041707df6439c7955 (patch)
tree0750d70f52351b5a1264470d1e5627eb4e080968 /tests/unit/core/test-core-signal.cpp
parent74ba21a8c4b49c03f1b023886bd33d0e8c8b55e5 (diff)
downloadweechat-5d809df6ede402920543fd7041707df6439c7955.zip
tests: move include of tests/tests.h outside of extern "C"
Diffstat (limited to 'tests/unit/core/test-core-signal.cpp')
-rw-r--r--tests/unit/core/test-core-signal.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/core/test-core-signal.cpp b/tests/unit/core/test-core-signal.cpp
index 53a9ca5c8..3853354cb 100644
--- a/tests/unit/core/test-core-signal.cpp
+++ b/tests/unit/core/test-core-signal.cpp
@@ -21,13 +21,14 @@
#include "CppUTest/TestHarness.h"
+#include "tests/tests.h"
+
extern "C"
{
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <signal.h>
-#include "tests/tests.h"
#include "src/core/wee-signal.h"
}