summaryrefslogtreecommitdiff
path: root/libexec/talkd
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-26 08:44:05 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-26 08:44:05 +0000
commita657885cb37bc3f258f68052a5639ac49d19c215 (patch)
tree240b25144149b28f47399acca5438867a68d46c5 /libexec/talkd
parente0a9665a1bf127e41b624cb1b193478920835da4 (diff)
Pull in <sys/time.h> for gettimeofday()
ok deraadt@
Diffstat (limited to 'libexec/talkd')
-rw-r--r--libexec/talkd/table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/talkd/table.c b/libexec/talkd/table.c
index 1cf4d05da6c..09996852790 100644
--- a/libexec/talkd/table.c
+++ b/libexec/talkd/table.c
@@ -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>