$NetBSD$

--- internals.c.orig	2006-01-02 23:29:30.000000000 +0000
+++ internals.c
@@ -140,7 +140,6 @@ void checkLock()
     char myhost[64];
     int pid;
     FILE *fp;
-    extern int errno;
 
     if (!buffer) {
 	/* silently ignore this condition */
