diff --git a/src/test.c b/src/test.c index 6830ca703..1e3c79212 100644 --- a/src/test.c +++ b/src/test.c @@ -57,9 +57,9 @@ char *program_name; #endif /* !_POSIX_VERSION */ #include -#if !defined (errno) +#ifndef errno extern int errno; -#endif /* !errno */ +#endif #if !defined (STREQ) # define STREQ(a, b) ((a)[0] == (b)[0] && strcmp (a, b) == 0)