--- portmap_4/portmap.c.old	1996-05-31 09:52:59.000000000 -0400
+++ portmap_4/portmap.c	2002-12-13 11:44:16.000000000 -0500
@@ -94,6 +94,7 @@
 #ifdef SYSV40
 #include <netinet/in.h>
 #endif
+#include <errno.h>
 
 extern char *strerror();
 #include <stdlib.h>
@@ -124,7 +125,6 @@
 static void callit();
 struct pmaplist *pmaplist;
 int debugging = 0;
-extern int errno;
 
 #include "pmap_check.h"
 
