--- posix.vapi	2009-04-11 00:06:59.000000000 -0700
+++ /home/nemequ/local/src/vala/vapi/posix.vapi	2009-04-20 13:08:40.000000000 -0700
@@ -857,5 +857,16 @@
 	public const int SEEK_CUR;
 	[CCode (cheader_filename = "unistd.h")]
 	public const int SEEK_END;
+
+	[CCode (cheader_filename = "sys/time.h")]
+	public struct timeval {
+		[CCode (cname = "tv_sec")]
+		public time_t sec;
+		[CCode (cname = "tv_usec")]
+		public long usec;
+	}
+
+	[CCode (cheader_filename = "sys/time.h")]
+	int gettimeofday (timeval tv, void * tz = null);
 }
 
