Browse Source

Add gettimeofday declaration in sys/time.h

Bernard Xiong 11 years ago
parent
commit
2bcb9edd91
1 changed files with 2 additions and 0 deletions
  1. 2 0
      components/libc/minilibc/sys/time.h

+ 2 - 0
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