summaryrefslogtreecommitdiffstats
path: root/package/dhrystone/dhrystone-2-headers.patch
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-12-07 16:07:27 -0500
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-08 23:37:48 +0100
commit9ffc2e809c9a1a6be135d6ec5503e8d0717d2cc0 (patch)
tree0de2cb1967ac3bd8610389904588c1a001352596 /package/dhrystone/dhrystone-2-headers.patch
parentbeb56ca618da3c2bcffb806c6d7fae725e56162e (diff)
downloadbuildroot-9ffc2e809c9a1a6be135d6ec5503e8d0717d2cc0.tar.gz
buildroot-9ffc2e809c9a1a6be135d6ec5503e8d0717d2cc0.zip
dhrystone: new benchmark package
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
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 0000000000..82bb60d92d
--- /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
OpenPOWER on IntegriCloud