Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Krause <jkrause@posteo.de>2014-09-03 13:53:39 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-09-03 22:01:25 +0400
commit02a2e171ad3c31dc3f351319cb9b81d2121beaca (patch)
treeee5f68ec338bbbab21da7bc48a57e751738fb56e /libavutil/error.c
parentd9a416fa1a7b1ad9ed1ec9747f17134e947c1587 (diff)
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: Jörg Krause <jkrause@posteo.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/error.c')
-rw-r--r--libavutil/error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/error.c b/libavutil/error.c
index bd66354df2..dd1fb307dc 100644
--- a/libavutil/error.c
+++ b/libavutil/error.c
@@ -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"