From a7a87dda4ae2796c315519f506c8156c33c47e79 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 17 Jul 2015 19:10:24 -0700 Subject: [PATCH] should include [most of] . Found by trying to build c-ares with bionic. Change-Id: I38684abcb806ef1e8806c68b4a6dd9200f48849e --- libc/include/sys/time.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libc/include/sys/time.h b/libc/include/sys/time.h index 67107c605..f60c905e8 100644 --- a/libc/include/sys/time.h +++ b/libc/include/sys/time.h @@ -25,6 +25,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ + #ifndef _SYS_TIME_H_ #define _SYS_TIME_H_ @@ -32,6 +33,9 @@ #include #include +/* POSIX says gets you most of and may get you all of it. */ +#include + __BEGIN_DECLS extern int gettimeofday(struct timeval *, struct timezone *);