diff --git a/ChangeLog.d/do-not-use-obsolete-header.txt b/ChangeLog.d/do-not-use-obsolete-header.txt new file mode 100644 index 000000000..9a57ef16b --- /dev/null +++ b/ChangeLog.d/do-not-use-obsolete-header.txt @@ -0,0 +1,5 @@ +Bugfix + * Don't use the obsolete header path sys/fcntl.h in unit tests. + These header files cause compilation errors in musl. + Fixes #4969. + diff --git a/tests/suites/test_suite_net.function b/tests/suites/test_suite_net.function index f429fc922..513b72364 100644 --- a/tests/suites/test_suite_net.function +++ b/tests/suites/test_suite_net.function @@ -9,11 +9,11 @@ #endif #if defined(MBEDTLS_PLATFORM_IS_UNIXLIKE) -#include #include #include #include #include +#include #include #endif