diff options
author | Andy McFadden <fadden@android.com> | 2010-01-26 09:25:53 -0800 |
---|---|---|
committer | Andy McFadden <fadden@android.com> | 2010-01-26 09:30:02 -0800 |
commit | fe5684ef3a452ab27e6f75ccb74728b6185fa558 (patch) | |
tree | 170dde18336fb30ce6f00175e95b56f43d380226 /libcutils | |
parent | cf63d5d00f5a631a2905da7812b5c029b5211cf6 (diff) | |
download | system_core-fe5684ef3a452ab27e6f75ccb74728b6185fa558.zip system_core-fe5684ef3a452ab27e6f75ccb74728b6185fa558.tar.gz system_core-fe5684ef3a452ab27e6f75ccb74728b6185fa558.tar.bz2 |
Try to fix Mac build.
Throwing in an include of <unistd.h> and <sys/types.h> to get off_t
defined. Might work.
Diffstat (limited to 'libcutils')
-rw-r--r-- | libcutils/open_memstream.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcutils/open_memstream.c b/libcutils/open_memstream.c index b49ef9b..5b4388a 100644 --- a/libcutils/open_memstream.c +++ b/libcutils/open_memstream.c @@ -46,6 +46,8 @@ */ #include <cutils/open_memstream.h> #include <stdlib.h> +#include <sys/types.h> +#include <unistd.h> #include <stdio.h> #include <string.h> #include <errno.h> |