diff -ru xlife.orig/data.h xlife/data.h --- xlife.orig/data.h Mon Nov 27 05:51:32 1995 +++ xlife/data.h Wed Oct 15 12:12:31 2003 @@ -20,6 +20,9 @@ * PERFORMANCE OF THIS SOFTWARE. */ +#include +#include + /* file.c */ GLOBAL void fileinit(void); GLOBAL void savefile(void); @@ -84,9 +87,10 @@ GLOBAL void setcolor(int val, unsigned long x, unsigned long y); /* UNIX interface */ -extern int sys_nerr, errno; -extern char *sys_errlist[]; -#define SYSERR sys_errlist[(errno > sys_nerr? 0 : errno)] +/* extern int sys_nerr, errno; */ +/* extern char *sys_errlist[]; */ +/* #define SYSERR sys_errlist[(errno > sys_nerr? 0 : errno)] */ +#define SYSERR strerror(errno) /* X I/O state information */ GLOBAL Display *disp; diff -ru xlife.orig/lifeconv.c xlife/lifeconv.c --- xlife.orig/lifeconv.c Tue Dec 29 04:32:45 1992 +++ xlife/lifeconv.c Wed Oct 15 12:10:17 2003 @@ -126,7 +126,7 @@ xmin = XMAX; ymin = YMAX; xmax = 0; ymax = 0; while (fgets(buf, BUFSIZ, ifp) != (char *)NULL) { - extern char *strchr(); + /* extern char *strchr(); */ if (buf[0] == '#') {