Skip to content

Commit af85c95

Browse files
committed
mssing headers for death tests
1 parent 924f32f commit af85c95

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

libc/test/src/__support/wchar/wcsnrtombs_test.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include "hdr/types/size_t.h"
1111
#include "hdr/types/wchar_t.h"
1212
#include "src/__support/error_or.h"
13+
#include "src/__support/macros/null_check.h"
1314
#include "src/__support/wchar/mbstate.h"
1415
#include "src/__support/wchar/wcsnrtombs.h"
1516
#include "test/UnitTest/Test.h"
@@ -197,4 +198,4 @@ TEST(LlvmLibcWcsnrtombs, NullSrc) {
197198
LIBC_NAMESPACE::internal::wcsnrtombs(mbs, nullptr, 1, 1, &state);
198199
},
199200
WITH_SIGNAL(-1));
200-
}
201+
}

libc/test/src/wchar/wcsnrtombs_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//===----------------------------------------------------------------------===//
88

99
#include "hdr/types/mbstate_t.h"
10+
#include "src/__support/macros/null_check.h"
1011
#include "src/string/memset.h"
1112
#include "src/wchar/wcsnrtombs.h"
1213
#include "test/UnitTest/ErrnoCheckingTest.h"

libc/test/src/wchar/wcsrtombs_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//===----------------------------------------------------------------------===//
88

99
#include "hdr/types/mbstate_t.h"
10+
#include "src/__support/macros/null_check.h"
1011
#include "src/string/memset.h"
1112
#include "src/wchar/wcsrtombs.h"
1213
#include "test/UnitTest/ErrnoCheckingTest.h"

0 commit comments

Comments
 (0)