Otherwise it errors with unknown type name when using uClibc.

Signed-off-by: Rosen Penev <ros...@gmail.com>
---
 include/gmputil.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/gmputil.h b/include/gmputil.h
index 73959c1..ad63d67 100644
--- a/include/gmputil.h
+++ b/include/gmputil.h
@@ -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);
-- 
2.17.1

Reply via email to