figlet/figlet-implicit.patch

23 lines
345 B
Diff

--- chkfont.c
+++ chkfont.c
@@ -1,6 +1,9 @@
#include <stdio.h>
#include <string.h>
#include <ctype.h>
+#ifdef __STDC__
+#include <stdlib.h>
+#endif
#define DATE "20 Feb 1996"
#define VERSION "2.2"
--- figlet.c
+++ figlet.c
@@ -54,6 +54,7 @@
#endif
#include <stdio.h>
+#include <unistd.h>
#ifdef __STDC__
#include <stdlib.h>
#endif