ubuntu-buildroot/package/dhrystone/0004-headers.patch

16 lines
283 B
Diff
Raw Normal View History

2024-04-01 15:19:46 +00:00
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