gmputil.h: Add missing header for va_list
PATCH 1/1 gmputil.h: Add missing header for va_list
Otherwise it errors with unknown type name when using uClibc.
Signed-off-by Rosen Penev <[email protected]>
--- include/gmputil.h | 1 + 1 file changed, 1 insertion(+)
include/gmputil.h +1 -0
@@ -7,6 +7,7 @@#include <gmp.h> #else #include <mini-gmp.h> +#include <stdarg.h> #include <stdio.h> /* mini-gmp doesn't come with gmp_vfprintf, so we use our own minimal variant */ extern int mpz_vfprintf (FILE *fp,const char *format,va_list args);
Signature · 1 line
2.17.1
Quoted 1 line · Rosen Penev
Otherwise it errors with unknown type name when using uClibc.
Applied, thanks.