tools: Fix mpfr build on FreeBSD 10.1

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44279 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Jo-Philipp Wich
2015-02-05 16:58:10 +00:00
parent 75ea8c12e9
commit b59c2b7ff4
2 changed files with 11 additions and 1 deletions

View File

@@ -11,7 +11,7 @@
examples/ReadMe examples/divworst.c examples/rndo-add.c examples/sample.c \
--- a/Makefile.in
+++ b/Makefile.in
@@ -294,7 +294,7 @@ top_builddir = @top_builddir@
@@ -295,7 +295,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = gnu
ACLOCAL_AMFLAGS = -I m4

View File

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