$NetBSD: patch-av,v 1.4 2010/09/27 12:01:49 taca Exp $ * Don't declare errno. * Improve portability. --- uip/dropsbr.c.orig 1998-04-23 21:02:00.000000000 +0000 +++ uip/dropsbr.c @@ -20,6 +20,9 @@ static char ident[] = "@(#)$Id: dropsbr. #undef NULLVP #include #else +#ifdef ntohl +#undef ntohl +#endif #define ntohl(n) (n) #endif @@ -33,8 +36,6 @@ static int mbx_style = MMDF; static int mbx_create(), mbx_chk(), map_open(); -extern int errno; - off_t lseek (); /* */