File sc-fix-malloc-redefinition.patch of Package sc
Index: sc-7.16/xmalloc.c =================================================================== --- sc-7.16.orig/xmalloc.c +++ sc-7.16/xmalloc.c @@ -3,12 +3,10 @@ * $Revision: 7.16 $ */ +#include <stdlib.h> #include <curses.h> #include "sc.h" -extern char *malloc(); -extern char *realloc(); -extern void free(); void fatal(); #ifdef SYSV3