# HG changeset patch # User Andoni Morales Alastruey # Date 1358246512 -3600 # Node ID 7e79b824e22935c2239c8f45c86a26667980c7b7 # Parent e8b5dfc961564301c11a8399edd0b9e223135281 stdint: fix build with Android's Bionic fox x86 * lib/stdint.in.h: fix check to test if included-fixed/sys/types.h was already included as _SSIZE_T_DEFINED_ might also be defined in include/machine/_types.h, which is included by stdio.h Signed-off-by: Eric Blake diff -r e8b5dfc96156 -r 7e79b824e229 ChangeLog --- a/ChangeLog Sun Jan 13 10:36:53 2013 -0800 +++ b/ChangeLog Tue Jan 15 11:41:52 2013 +0100 @@ -1,3 +1,10 @@ +2013-01-15 Andoni Morales Alastruey (tiny change) + + stdint: fix build with Android's Bionic fox x86 + * lib/stdint.in.h: fix check to test if included-fixed/sys/types.h + was already included as _SSIZE_T_DEFINED_ might also be defined + in include/machine/_types.h, which is included by stdio.h + 2013-01-13 Paul Eggert net_if-tests: port to Solaris 7 + GCC 3.4.6 diff -r e8b5dfc96156 -r 7e79b824e229 lib/stdint.in.h --- a/lib/stdint.in.h Sun Jan 13 10:36:53 2013 -0800 +++ b/lib/stdint.in.h Tue Jan 15 11:41:52 2013 +0100 @@ -39,7 +39,7 @@ Ideally we should test __BIONIC__ here, but it is only defined after has been included; hence test __ANDROID__ instead. */ #if defined __ANDROID__ \ - && defined _SYS_TYPES_H_ && !defined _SSIZE_T_DEFINED_ + && defined _SYS_TYPES_H_ && !defined __need_size_t # @INCLUDE_NEXT@ @NEXT_STDINT_H@ #else