summaryrefslogtreecommitdiff
path: root/x11-libs/libast/files/libast-0.8-fix-implicit-func-decls.patch
blob: 34e55f7d43aa84c8b537a9ef1fccb538bbe3f4ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
https://bugs.gentoo.org/871705
--- a/src/snprintf.c
+++ b/src/snprintf.c
@@ -2,6 +2,11 @@
 # include <config.h>
 #endif
 
+#include <ctype.h>
+#include <stddef.h>
+#include <string.h>
+#include <stdio.h>
+
 #include <errno.h>
 #if defined(HAVE_STDARG_H) && (HAVE_STDARG_H != 0)
 # include <stdarg.h>