| commit | f525e4cbb6a6bf81fbbd4edf7e3f6318823a8e9f | [log] [tgz] |
|---|---|---|
| author | Chris Friedt <cfriedt@meta.com> | Sat Nov 05 08:33:05 2022 -0400 |
| committer | Jens Geyer <Jens-G@users.noreply.github.com> | Sun Nov 20 12:04:03 2022 +0100 |
| tree | 6e813f6e7f0d7852b9415694162200c0699c6828 | |
| parent | 8f83e462502a57456ab726ac64ab4dc3ca4d9b00 [diff] |
THRIFT-5666: lib: cpp: prefer poll.h over sys/poll.h The `<sys/poll.h>` header is not actually where `poll(2)` must be defined according to the spec. However, it may be the case that some random UNIX-like OS uses `<sys/poll.h>` instead. Both use cases can be supported simply by including the proper header, if it exists. Signed-off-by: Chris Friedt <cfriedt@meta.com>