Merge origin/netpush (networking code) (XCC)
[akaros.git] / kern / include / time.h
index c3292ae..28bdec6 100644 (file)
@@ -17,6 +17,11 @@ struct itimerspec {
   struct timespec  it_value;     /* Timer expiration */
 };
 
+struct timeval {
+       time_t tv_sec;  /* seconds */
+       time_t tv_usec; /* microseconds */
+};
+
 void train_timing();
 void udelay(uint64_t usec);
 uint64_t tsc2sec(uint64_t tsc_time);