Pull in <sys/time.h> for gettimeofday()
authorguenther <guenther@openbsd.org>
Fri, 26 Aug 2016 08:44:04 +0000 (08:44 +0000)
committerguenther <guenther@openbsd.org>
Fri, 26 Aug 2016 08:44:04 +0000 (08:44 +0000)
ok deraadt@

libexec/talkd/table.c

index 1cf4d05..0999685 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: table.c,v 1.18 2016/03/16 15:41:10 krw Exp $  */
+/*     $OpenBSD: table.c,v 1.19 2016/08/26 08:44:04 guenther Exp $     */
 
 /*
  * Copyright (c) 1983 Regents of the University of California.
@@ -39,6 +39,7 @@
  */
 #include <sys/queue.h>
 #include <sys/socket.h>
+#include <sys/time.h>
 #include <protocols/talkd.h>
 
 #include <stdlib.h>