* aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
[deliverable/binutils-gdb.git] / libiberty / strtol.c
index 5467cc3e2e9b3d207b5d0f57fea20266b2976a12..b4c66c403f7287a114935a767f2cb21dcd878fb1 100644 (file)
@@ -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
This page took 0.023907 seconds and 4 git commands to generate.