Commit 02a2e171 authored by Jörg Krause's avatar Jörg Krause Committed by Michael Niedermayer

libavutil/error: fix build with musl toolchain

Add the feature test macro which is required for building with the
musl toolchain.

The feature test macro _XOPEN_SOURCE = 600 provides the XSI-compliant
version of strerror_r().
Signed-off-by: 's avatarJörg Krause <jkrause@posteo.de>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d9a416fa
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
*/ */
#undef _GNU_SOURCE #undef _GNU_SOURCE
#define _XOPEN_SOURCE 600 /* XSI-compliant version of strerror_r */
#include "avutil.h" #include "avutil.h"
#include "avstring.h" #include "avstring.h"
#include "common.h" #include "common.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment