[PATCH] gmputil.h: Add missing header for va_list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Otherwise it errors with unknown type name when using uClibc.

Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
---
 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




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux