1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
--- misc.c.orig Sat Jul 24 03:29:12 1993 +++ misc.c Wed Jun 5 22:41:39 2002 @@ -24,6 +24,8 @@ */ #include <stdio.h> +#include <stdlib.h> + #ifndef SEEK_SET #define SEEK_SET 0 #endif @@ -60,8 +62,9 @@ #ifdef VMS #include <perror.h> #else +#ifndef __FreeBSD__ extern int sys_nerr; -extern char *sys_errlist[]; +#endif #endif #include "Ghostview.h"