--- hexer.c.orig	Tue Apr 23 19:40:08 1996
+++ hexer.c	Fri Apr  5 13:26:10 2002
@@ -67,10 +67,12 @@
 
 extern int errno;
 
-#ifndef BSD
+#if !defined(BSD) && !defined(__linux__)
 extern char *sys_errlist[];
 #endif
+#if !defined(BSD)
 extern int sys_nerr;
+#endif
 extern mkstemp();
 
 const struct buffer_s NO_BUFFER = { 0, 0, 0, 0, 0, 0 };
--- commands.c.orig	Tue Apr 23 19:40:09 1996
+++ commands.c	Fri Apr  5 13:28:08 2002
@@ -1246,8 +1246,10 @@
   int cant_write_f = 0;
   long k;
   char *errormsg;
+#if !defined(BSD)
   extern int sys_nerr;
-#ifndef BSD
+#endif
+#if !defined(BSD) && !defined(__linux__)
   extern char *sys_errlist[];
 #endif
   extern int errno;
