diff --git a/gas/config/ho-generic.h b/gas/config/ho-generic.h index b1b0a93315..967603fef3 100644 --- a/gas/config/ho-generic.h +++ b/gas/config/ho-generic.h @@ -25,6 +25,11 @@ #define HAVE_STRERROR +#ifdef __STDC__ +extern void *malloc (), *realloc (); +#else +extern char *malloc (), *realloc (); +#endif extern int free (); /* end of ho-generic.h */