summaryrefslogtreecommitdiffstats
path: root/ham/7plus/C-includes.patch
diff options
context:
space:
mode:
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>