slackbuilds_ponce/ham/7plus/C-includes.patch
JK Wood d614d138d9 ham/7plus: Fixes for the 64bit build.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
2022-02-14 15:42:33 +00:00

12 lines
330 B
Diff

diff -Naur a/7plus.h b/7plus.h
--- a/7plus.h 2000-01-10 10:03:02.000000000 +0000
+++ b/7plus.h 2022-02-13 21:16:05.186445213 +0000
@@ -24,6 +24,8 @@
/* #define setvbuf(a,b,c,d) */
/** these includes should work anywhere **/
+#include <unistd.h>
+#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>