buildroot/package/dhrystone/dhrystone-2-headers.patch
Mike Frysinger 9ffc2e809c 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>
2010-12-08 23:37:48 +01:00

16 lines
283 B
Diff

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