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~10 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=6ce9913b3b6bc149bbb38834e9ce5af4558b2a2a;p=gnulib.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