* [PATCH] gmputil.h: Add missing header for va_list
@ 2019-05-03 18:49 Rosen Penev
2019-05-05 22:11 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Rosen Penev @ 2019-05-03 18:49 UTC (permalink / raw)
To: netfilter-devel
Otherwise it errors with unknown type name when using uClibc.
Signed-off-by: Rosen Penev <rosenp@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-05 22:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-03 18:49 [PATCH] gmputil.h: Add missing header for va_list Rosen Penev
2019-05-05 22:11 ` Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).