From b9a6b32cb0f057a3413ccd8cfc426bbefb290861 Mon Sep 17 00:00:00 2001
From: Andoni Morales Alastruey <ylatuya@gmail.com>
Date: Tue, 15 Jan 2013 11:41:52 +0100
Subject: [PATCH] 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
---
 lib/stdint.in.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/stdint.in.h b/lib/stdint.in.h
index e1108c5..1896015 100644
--- a/lib/stdint.in.h
+++ b/lib/stdint.in.h
@@ -39,7 +39,7 @@
    Ideally we should test __BIONIC__ here, but it is only defined after
    <sys/cdefs.h> 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
 
-- 
1.7.9.5

