openwrtv3/tools/mpfr/patches/100-freebsd-compat.patch
Hannu Nyman 4343ac5515 tools/mpfr: update to 4.0.0
Update mpfr to 4.0.0

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-01-18 08:04:18 +01:00

10 lines
204 B
Diff

--- a/src/vasprintf.c
+++ b/src/vasprintf.c
@@ -61,6 +61,7 @@ http://www.gnu.org/licenses/ or write to
#endif /* HAVE_VA_COPY */
#ifdef HAVE_WCHAR_H
+#include <stddef.h>
#include <wchar.h>
#endif