Skip to content
Snippets Groups Projects
Commit 02a2e171 authored by Jörg Krause's avatar Jörg Krause Committed by Michael Niedermayer
Browse files

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: default avatarJörg Krause <jkrause@posteo.de>
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent d9a416fa
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@
*/
#undef _GNU_SOURCE
#define _XOPEN_SOURCE 600 /* XSI-compliant version of strerror_r */
#include "avutil.h"
#include "avstring.h"
#include "common.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment