# HG changeset patch # User Gary V. Vaughan # Date 1362980938 -25200 # Node ID c332767f3c68c9eb0a0c33f2a58b4ac6f2ca9374 # Parent 5cadd9d309b15527761445fb26010ef889354b3d unistd: don't prevent Tru64 Unix from using gnulib strtod. * lib/unistd.in.h: be careful not to include un-needed system stdlib.h from here, because that prevents gnulib stdlib.h from defining rpl_strtod correctly. Signed-off-by: Gary V. Vaughan diff -r 5cadd9d309b1 -r c332767f3c68 ChangeLog --- a/ChangeLog Sat Mar 09 07:23:53 2013 -0800 +++ b/ChangeLog Mon Mar 11 12:48:58 2013 +0700 @@ -1,3 +1,10 @@ +2013-03-11 Gary V. Vaughan + + unistd: don't prevent Tru64 Unix from using gnulib strtod. + * lib/unistd.in.h: be careful not to include un-needed system + stdlib.h from here, because that prevents gnulib stdlib.h from + defining rpl_strtod correctly. + 2013-03-09 Gary V. Vaughan vasprintf-posix-tests: allow rounding 1.51 to 1, per the previous diff -r 5cadd9d309b1 -r c332767f3c68 lib/unistd.in.h --- a/lib/unistd.in.h Sat Mar 09 07:23:53 2013 -0800 +++ b/lib/unistd.in.h Mon Mar 11 12:48:58 2013 +0700 @@ -61,8 +61,10 @@ /* mingw, MSVC, BeOS, Haiku declare environ in , not in . */ /* Solaris declares getcwd not only in but also in . */ +/* OSF Tru64 Unix cannot see gnulib rpl_strtod when system is + included here. */ /* But avoid namespace pollution on glibc systems. */ -#ifndef __GLIBC__ +#if !defined __GLIBC__ && !defined __osf__ # define __need_system_stdlib_h # include # undef __need_system_stdlib_h