[FFmpeg-devel] libavutil/error.c patch to include string.h

Paul B Mahol onemda at gmail.com
Sun Sep 1 01:24:29 CEST 2013


On 8/31/13, Dominick Allen <djallen at librehumanitas.org> wrote:
> When building against musl instead of glibc, compilation fails at
> libavutil/error.c
>
> CC      libavutil/error.o
> libavutil/error.c: In function 'av_strerror':
> libavutil/error.c:68:9: error: implicit declaration of function
> 'strerror_r' [-Werror=implicit-function-declaration]
> cc1: some warnings being treated as errors
> make: *** [libavutil/error.o] Error 1
> make: *** Waiting for unfinished jobs....
>
> Attached the patch.
>

<string.h> is already included by "common.h"


More information about the ffmpeg-devel mailing list