Use "#include <errno.h>" instead of "extern int errno;". Suggested by
[mmh] / uip / vmhsbr.c
index 664c388..8ef0310 100644 (file)
@@ -12,6 +12,7 @@
 
 #include <h/mh.h>
 #include <h/vmhsbr.h>
+#include <errno.h>
 
 static char *types[] = {
     "OK",
@@ -24,8 +25,6 @@ static        FILE *fp = NULL;
 static int PEERrfd = NOTOK;
 static int PEERwfd = NOTOK;
 
-extern int  errno;
-
 /*
  * static prototypes
  */