diff -Naur xv-3.10a.orig/xv.h xv-3.10a/xv.h
--- xv-3.10a.orig/xv.h	Mon Jan 23 21:22:23 1995
+++ xv-3.10a/xv.h	Fri Aug  9 21:05:23 2002
@@ -115,7 +115,7 @@
 #ifndef VMS
 #  include <errno.h>
    extern int   errno;             /* SHOULD be in errno.h, but often isn't */
-#  ifndef __NetBSD__
+#  if !defined(__NetBSD__) && !defined(__FreeBSD__)
      extern char *sys_errlist[];     /* this too... */
 #  endif
 #endif
@@ -159,6 +159,7 @@
      !defined(bsd43)                     && \
      !defined(aux)                       && \
      !defined(__bsdi__)                  && \
+     !defined(__FreeBSD__)               && \
      !defined(sequent)
 
 #  if defined(hp300) || defined(hp800) || defined(NeXT)
