diff options
-rw-r--r-- | src/test.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <errno.h> -#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) |