--- misc.c.orig Sat Jul 24 03:29:12 1993 +++ misc.c Wed Jun 5 22:41:39 2002 @@ -24,6 +24,8 @@ */ #include +#include + #ifndef SEEK_SET #define SEEK_SET 0 #endif @@ -60,8 +62,9 @@ #ifdef VMS #include #else +#ifndef __FreeBSD__ extern int sys_nerr; -extern char *sys_errlist[]; +#endif #endif #include "Ghostview.h"