diff options
Diffstat (limited to 'resolv/getnetnamadr.c')
-rw-r--r-- | resolv/getnetnamadr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/resolv/getnetnamadr.c b/resolv/getnetnamadr.c index 6f5bf008c7..abbc3a3e6f 100644 --- a/resolv/getnetnamadr.c +++ b/resolv/getnetnamadr.c @@ -58,9 +58,11 @@ static char rcsid[] = "$Id$"; #include <errno.h> #include <string.h> +#ifndef h_errno extern int h_errno; +#endif -#if defined(mips) && defined(SYSTYPE_BSD43) +#if defined(mips) && defined(SYSTYPE_BSD43) && !defined(errno) extern int errno; #endif |