--- SelFile.c.orig	Sat Jul 24 03:29:12 1993
+++ SelFile.c	Wed Jun  5 22:43:26 2002
@@ -45,8 +45,9 @@
 #include <errno.h>
 /* BSD 4.3 errno.h does not declare errno */
 extern int errno;
+#ifndef __FreeBSD__
 extern int sys_nerr;
-extern char *sys_errlist[];
+#endif
 
 #include <sys/param.h>
 #include <X11/cursorfont.h>