summaryrefslogtreecommitdiff
path: root/package/dhrystone/dhrystone-2-headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/dhrystone/dhrystone-2-headers.patch')
-rw-r--r--package/dhrystone/dhrystone-2-headers.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/dhrystone/dhrystone-2-headers.patch b/package/dhrystone/dhrystone-2-headers.patch
new file mode 100644
index 000000000..82bb60d92
--- /dev/null
+++ b/package/dhrystone/dhrystone-2-headers.patch
@@ -0,0 +1,15 @@
+get prototypes for malloc/exit/strcpy
+
+Patch by Mike Frysinger <vapier@gentoo.org>
+
+--- a/dhry.h
++++ b/dhry.h
+@@ -388,6 +388,8 @@
+ /* General definitions: */
+
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ /* for strcpy, strcmp */
+
+ #define Null 0