Both functions are part of the C library since Android 1.5 / API level 3 but were missing a declaration in <time.h>, so add then here + Fix first parameter from 'int' to 'clockid_t' for clock_getres() and clock_gettime() Fixes http://code.google.com/p/android/issues/detail?id=20140 Change-Id: Ic2191d5eb54475c149b9a6b8f3ba55bc8ed4643f