Add the feature test macro which is required for building with the musl toolchain.
The required feature test macro is: fdopen(): _POSIX_C_SOURCE >= 1 Signed-off-by: Jörg Krause <jkra...@posteo.de> --- libavutil/file_open.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavutil/file_open.c b/libavutil/file_open.c index f3164eb..934585e 100644 --- a/libavutil/file_open.c +++ b/libavutil/file_open.c @@ -16,6 +16,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#define _POSIX_C_SOURCE 1 + #include "config.h" #include "internal.h" #include "mem.h" -- 2.1.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel