Index: src/skins/posix/clock.c =================================================================== --- src/skins/posix/clock.c (revision 2455) +++ src/skins/posix/clock.c (working copy) @@ -16,6 +16,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#include +#include #include #include /* For pthread_setcanceltype. */ #include Index: src/skins/native/timer.c =================================================================== --- src/skins/native/timer.c (revision 2455) +++ src/skins/native/timer.c (working copy) @@ -16,6 +16,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#include +#include #include #include #include Index: src/testsuite/clocktest/clocktest.c =================================================================== --- src/testsuite/clocktest/clocktest.c (revision 2455) +++ src/testsuite/clocktest/clocktest.c (working copy) @@ -160,7 +160,7 @@ int main(int argc, char *argv[]) { int cpus = sysconf(_SC_NPROCESSORS_ONLN); int i; - char c; + int c; while ((c = getopt(argc,argv,"C:T:")) != EOF) switch (c) {