diff --git a/lib/xstrtol.c b/lib/xstrtol.c index 0dc871eac..cd85a3f93 100644 --- a/lib/xstrtol.c +++ b/lib/xstrtol.c @@ -36,6 +36,12 @@ # endif #endif +/* Some pre-ANSI implementations (e.g. SunOS 4) + need stderr defined if assertion checking is enabled. */ +#ifndef NDEBUG +# include +#endif + #include #include