Untangling the glibc header rat's nest (P.2) (XCC)
[akaros.git] / tests / timer_deps.c
index cc38218..22d7fba 100644 (file)
@@ -1,9 +1,13 @@
 #include <ros/time.h>
 #include <time.h>
+#include <sys/time.h>
 #include <stdio.h>
 
 int main(int argc, char **argv)
 {
        printf("sizeof timespec: %d\n", sizeof(struct timespec));
+       printf("sizeof itimerspec: %d\n", sizeof(struct itimerspec));
+       printf("sizeof timeval: %d\n", sizeof(struct timeval));
+       printf("sizeof timezone: %d\n", sizeof(struct timezone));
        return 0;
 }