You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-devel/bin86/files/bin86-0.16.18-headers.patch

35 lines
634 B

fix implicit function decl warnings
by David J Cozatt
--- bin86-0.16.18/ld/catimage.c
+++ bin86-0.16.18/ld/catimage.c
@@ -21,6 +21,8 @@
*/
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include "x86_aout.h"
#ifndef __OUT_OK
--- bin86-0.16.18/ld/dumps.c
+++ bin86-0.16.18/ld/dumps.c
@@ -6,6 +6,7 @@
#include "obj.h"
#include "type.h"
#include "globvar.h"
+#include <string.h>
/* print list of modules and whether they are loaded */
--- bin86-0.16.18/ld/objchop.c
+++ bin86-0.16.18/ld/objchop.c
@@ -1,5 +1,6 @@
#include <stdio.h>
+#include <stdlib.h>
#include "x86_aout.h"
#ifndef __OUT_OK