Define ssize_t if necessary.

Change-Id: I63801cc1f09be5e4ca20a6da7ec3366ba6441afd
This commit is contained in:
Elliott Hughes 2012-09-28 10:15:52 -07:00
parent eac9eb462e
commit 422b6ef92c

View file

@ -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;