[libc++] Add a missing include in string.h (#135134)
`stddef.h` is necessary for `size_t` in explicit Clang modules build.
This commit is contained in:
parent
8eae496eff
commit
46ece19eef
1 changed files with 2 additions and 0 deletions
|
|
@ -64,6 +64,8 @@ size_t strlen(const char* s);
|
|||
# include_next <string.h>
|
||||
# endif
|
||||
|
||||
# include <stddef.h>
|
||||
|
||||
// MSVCRT, GNU libc and its derivates may already have the correct prototype in
|
||||
// <string.h>. This macro can be defined by users if their C library provides
|
||||
// the right signature.
|
||||
|
|
|
|||
Loading…
Reference in a new issue