1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
svn-openwrt-archive/tools/mpfr/patches/100-freebsd-compat.patch
Jo-Philipp Wich a854d5c4c9 tools: Fix mpfr build on FreeBSD 10.1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44279
2015-02-05 16:58:10 +00:00

11 lines
204 B
Diff

--- 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