From 422b6ef92c1cca3cfd412621dc3db3b8609fa88c Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 28 Sep 2012 10:15:52 -0700 Subject: [PATCH] Define ssize_t if necessary. Change-Id: I63801cc1f09be5e4ca20a6da7ec3366ba6441afd --- libc/include/stdio.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libc/include/stdio.h b/libc/include/stdio.h index d0121c684..ca7809234 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;