aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-10-05 16:20:47 +0300
committerLasse Collin <lasse.collin@tukaani.org>2022-10-05 16:20:47 +0300
commit7dcabeec63d46b436fa5f043c3d1f09d0e15be16 (patch)
tree59fff3c9173bf9243d241f281ee7c6058fc9209a /tests
parentliblzma: Fix a compilation issue when encoders are disabled. (diff)
downloadxz-7dcabeec63d46b436fa5f043c3d1f09d0e15be16.tar.xz
Tests: Include mythread.h in the tests that use MYTHREAD_ENABLED.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_check.c1
-rw-r--r--tests/test_hardware.c1
-rw-r--r--tests/test_memlimit.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_check.c b/tests/test_check.c
index e059130d..cbe6917d 100644
--- a/tests/test_check.c
+++ b/tests/test_check.c
@@ -12,6 +12,7 @@
///////////////////////////////////////////////////////////////////////////////
#include "tests.h"
+#include "mythread.h"
// These must be specified as numbers so that the test works on EBCDIC
diff --git a/tests/test_hardware.c b/tests/test_hardware.c
index 17c51da2..ee4434c1 100644
--- a/tests/test_hardware.c
+++ b/tests/test_hardware.c
@@ -15,6 +15,7 @@
///////////////////////////////////////////////////////////////////////////////
#include "tests.h"
+#include "mythread.h"
static void
diff --git a/tests/test_memlimit.c b/tests/test_memlimit.c
index 6e2e62e1..b5f91472 100644
--- a/tests/test_memlimit.c
+++ b/tests/test_memlimit.c
@@ -11,6 +11,7 @@
///////////////////////////////////////////////////////////////////////////////
#include "tests.h"
+#include "mythread.h"
#define MEMLIMIT_TOO_LOW 1234U