Skip to contentSkip to conversation

gmputil.h: Add missing header for va_list

PATCH Applied Rosen Penev 2 participants 2 messages May 3, 2019 – May 5, 2019 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gmputil.h: Add missing header for va_list

Otherwise it errors with unknown type name when using uClibc.

---
 include/gmputil.h | 1 +
 1 file changed, 1 insertion(+)
include/gmputil.h +1 -0
index 73959c1..ad63d67 100644
@@ -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
maintainer Applied
#1 lore raw
Quoted 1 line · Rosen Penev

Otherwise it errors with unknown type name when using uClibc.

Applied, thanks.