diff --git a/configure b/configure index 01f17977e5b2c6dc2e76f7e04a6b2f3c520f7e57..361c0248a7907899b03e2da7b2041be6544da338 100755 --- a/configure +++ b/configure @@ -2693,7 +2693,7 @@ x11grab_indev_deps="x11grab" x11grab_xcb_indev_deps="libxcb" # protocols -async_protocol_deps="pthreads" +async_protocol_deps="threads" bluray_protocol_deps="libbluray" ffrtmpcrypt_protocol_deps="!librtmp_protocol" ffrtmpcrypt_protocol_deps_any="gcrypt gmp openssl" diff --git a/libavformat/async.c b/libavformat/async.c index 003212d5b6c981d1ccb30d0c37f0a3359a883369..a01673dc6d8ecb085b9ff752d562eb82c99fb322 100644 --- a/libavformat/async.c +++ b/libavformat/async.c @@ -34,9 +34,9 @@ #include "libavutil/fifo.h" #include "libavutil/log.h" #include "libavutil/opt.h" +#include "libavutil/thread.h" #include "url.h" #include <stdint.h> -#include <pthread.h> #if HAVE_UNISTD_H #include <unistd.h>