diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2022-10-05 16:20:47 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-10-05 16:20:47 +0300 |
commit | 7dcabeec63d46b436fa5f043c3d1f09d0e15be16 (patch) | |
tree | 59fff3c9173bf9243d241f281ee7c6058fc9209a /tests | |
parent | liblzma: Fix a compilation issue when encoders are disabled. (diff) | |
download | xz-7dcabeec63d46b436fa5f043c3d1f09d0e15be16.tar.xz |
Tests: Include mythread.h in the tests that use MYTHREAD_ENABLED.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_check.c | 1 | ||||
-rw-r--r-- | tests/test_hardware.c | 1 | ||||
-rw-r--r-- | tests/test_memlimit.c | 1 |
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 |