tools: Fix mpfr build on FreeBSD 10.1
[openwrt/staging/chunkeey.git] / tools / mpfr / patches / 100-freebsd-compat.patch
1 --- a/src/vasprintf.c
2 +++ b/src/vasprintf.c
3 @@ -42,6 +42,7 @@ http://www.gnu.org/licenses/ or write to
4 #endif /* HAVE_VA_COPY */
5
6 #ifdef HAVE_WCHAR_H
7 +#include <stddef.h>
8 #include <wchar.h>
9 #endif
10