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