From: Jim Meyering Date: Wed, 22 Jul 1998 16:57:15 +0000 (+0000) Subject: Include if NDEBUG is not defined; needed on SunOS 4. X-Git-Tag: FILEUTILS-3_16s~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19c23eefb7ecef3e2245ab3d4c66101ad69bfb09;p=thirdparty%2Fcoreutils.git Include if NDEBUG is not defined; needed on SunOS 4. From Paul Eggert. --- diff --git a/lib/xstrtol.c b/lib/xstrtol.c index 0dc871eacb..cd85a3f93d 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