avformat/tls_gnutls: fix build error on linux #21435

Merged
Timo Rothenpieler merged 1 commit from JackLau/FFmpeg:fix_gnutls into master 2026-01-18 01:58:40 +00:00

1 commit

Author SHA1 Message Date
d888a156cf avformat/tls_gnutls: fix build error on linux
All checks were successful
Lint / Pre-Commit (pull_request) Successful in 27s
Test / Fate (linux-aarch64, static, 64 bit) (pull_request) Successful in 11m30s
Test / Fate (linux-amd64, shared, 64 bit) (pull_request) Successful in 15m31s
Test / Fate (linux-amd64, static, 32 bit) (pull_request) Successful in 20m49s
Test / Fate (Full, wine) (pull_request) Successful in 24m40s
Autolabel / Labeler (pull_request_target) Has been skipped
The fd_set need <sys/select.h> on linux, but it's
not included in os_support.h, it's included in os_support.c

So this patch use poll() to replace select() to avoid
this issue and simplify the code.

Signed-off-by: Jack Lau <[email protected]>
2026-01-12 21:37:06 +08:00