From: Kevin Cernekee Date: Sat, 8 Mar 2014 04:38:27 +0000 (-0800) Subject: updated gnulib X-Git-Tag: gnutls_3_3_0pre0~58 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f935d9f5cf1d294b352f783cda69099df33a3b79;p=thirdparty%2Fgnutls.git updated gnulib This pulls in upstream commit cb3c90598 (stdint, read-file: fix missing SIZE_MAX on Android). Signed-off-by: Kevin Cernekee --- diff --git a/src/gl/stdint.in.h b/src/gl/stdint.in.h index 5deca3969a..247f0d8961 100644 --- a/src/gl/stdint.in.h +++ b/src/gl/stdint.in.h @@ -38,8 +38,7 @@ other system header files; just include the system's . 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 __need_size_t +#if defined __ANDROID__ && defined _GL_INCLUDING_SYS_TYPES_H # @INCLUDE_NEXT@ @NEXT_STDINT_H@ #else diff --git a/src/gl/sys_types.in.h b/src/gl/sys_types.in.h index d3a4be1074..deb5d67d1d 100644 --- a/src/gl/sys_types.in.h +++ b/src/gl/sys_types.in.h @@ -23,7 +23,9 @@ #ifndef _@GUARD_PREFIX@_SYS_TYPES_H /* The include_next requires a split double-inclusion guard. */ +# define _GL_INCLUDING_SYS_TYPES_H #@INCLUDE_NEXT@ @NEXT_SYS_TYPES_H@ +# undef _GL_INCLUDING_SYS_TYPES_H #ifndef _@GUARD_PREFIX@_SYS_TYPES_H #define _@GUARD_PREFIX@_SYS_TYPES_H