summaryrefslogtreecommitdiffstats
path: root/package/dhrystone/dhrystone-2-headers.patch
blob: 82bb60d92d42efc8fa755992b1d6cafce3c05081 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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