diff options
Diffstat (limited to 'libiberty/strtoul.c')
-rw-r--r-- | libiberty/strtoul.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/strtoul.c b/libiberty/strtoul.c index 2ec3204..59d428c 100644 --- a/libiberty/strtoul.c +++ b/libiberty/strtoul.c @@ -31,6 +31,9 @@ #include <limits.h> #include <ctype.h> #include <errno.h> +#ifdef NEED_DECLARATION_ERRNO +extern int errno; +#endif #if 0 #include <stdlib.h> #endif |