From 2bcb9edd91df59e068f82b2ce438215e2c5df32b Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Sun, 8 Sep 2013 15:01:29 +0800 Subject: [PATCH] Add gettimeofday declaration in sys/time.h --- components/libc/minilibc/sys/time.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/libc/minilibc/sys/time.h b/components/libc/minilibc/sys/time.h index 3df6d8c570..ada613251b 100644 --- a/components/libc/minilibc/sys/time.h +++ b/components/libc/minilibc/sys/time.h @@ -40,4 +40,6 @@ struct tm { const char *tm_zone; /* Timezone abbreviation. */ }; +int gettimeofday(struct timeval *tp, void *ignore); + #endif -- GitLab