summaryrefslogtreecommitdiffstats
path: root/ham/7plus/C-includes.patch
diff options
context:
space:
mode:
author JK Wood <joshuakwood@gmail.com>2022-02-14 15:42:33 +0000
committer Dave Woodfall <dave@slackbuilds.org>2022-02-14 15:42:33 +0000
commitd614d138d99981331f3b779f6c26284f43177f55 (patch)
treee6dc55d182a5425f108e4a17f52822ce00deed30 /ham/7plus/C-includes.patch
parentce5786f8befde9cbbee2f67c64d0a4435e546cb5 (diff)
downloadslackbuilds-d614d138d99981331f3b779f6c26284f43177f55.tar.gz
slackbuilds-d614d138d99981331f3b779f6c26284f43177f55.tar.xz
ham/7plus: Fixes for the 64bit build.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'ham/7plus/C-includes.patch')
-rw-r--r--ham/7plus/C-includes.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ham/7plus/C-includes.patch b/ham/7plus/C-includes.patch
new file mode 100644
index 0000000000..41a0ee65ba
--- /dev/null
+++ b/ham/7plus/C-includes.patch
@@ -0,0 +1,12 @@
+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>