diff options
author | Jörg Krause <jkrause@posteo.de> | 2014-09-03 13:53:39 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-09-03 22:01:25 +0400 |
commit | 02a2e171ad3c31dc3f351319cb9b81d2121beaca (patch) | |
tree | ee5f68ec338bbbab21da7bc48a57e751738fb56e /libavutil | |
parent | d9a416fa1a7b1ad9ed1ec9747f17134e947c1587 (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')
-rw-r--r-- | libavutil/error.c | 1 |
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" |