diff options
author | Yi Kong <yikong@google.com> | 2024-12-12 22:57:41 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-12 22:57:41 +0900 |
commit | 34d244a94195dbeb626573c9b2e388dc574f9300 (patch) | |
tree | cbf8c8d2203e1d7c23ad43e409f76d4923649088 /llvm/docs/tutorial | |
parent | f4ee5a673f6e593e85306cdf65493b53e62f936e (diff) | |
download | llvm-34d244a94195dbeb626573c9b2e388dc574f9300.zip llvm-34d244a94195dbeb626573c9b2e388dc574f9300.tar.gz llvm-34d244a94195dbeb626573c9b2e388dc574f9300.tar.bz2 |
Fix rtsan build with musl (#119674)
fd_set is defined by `sys/select.h`. On musl, this header is not
transitively included by the other headers.
Failure message:
```
compiler-rt/lib/rtsan/rtsan_interceptors_posix.cpp:761:37: error: unknown type name 'fd_set'; did you mean 'fd_t'?
761 | INTERCEPTOR(int, pselect, int nfds, fd_set *readfds, fd_set *writefds,
| ^~~~~~
| fd_t
```
Diffstat (limited to 'llvm/docs/tutorial')
0 files changed, 0 insertions, 0 deletions