summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-09-28 10:15:52 -0700
committerElliott Hughes <enh@google.com>2012-09-28 10:15:52 -0700
commit422b6ef92c1cca3cfd412621dc3db3b8609fa88c (patch)
tree6108aeee437a77c0084ff045f6e3fc112733c4de
parenteac9eb462ed6f7fcfb791e7a08b4011fcca47829 (diff)
downloadbionic-422b6ef92c1cca3cfd412621dc3db3b8609fa88c.zip
bionic-422b6ef92c1cca3cfd412621dc3db3b8609fa88c.tar.gz
bionic-422b6ef92c1cca3cfd412621dc3db3b8609fa88c.tar.bz2
Define ssize_t if necessary.
Change-Id: I63801cc1f09be5e4ca20a6da7ec3366ba6441afd
-rw-r--r--libc/include/stdio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/include/stdio.h b/libc/include/stdio.h
index d0121c6..ca78092 100644
--- a/libc/include/stdio.h
+++ b/libc/include/stdio.h
@@ -60,6 +60,11 @@
typedef unsigned long size_t;
#endif
+#ifndef _SSIZE_T_DEFINED_
+#define _SSIZE_T_DEFINED_
+typedef long int ssize_t;
+#endif
+
#ifndef _OFF_T_DEFINED_
#define _OFF_T_DEFINED_
typedef long off_t;