summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/misc.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2016-01-20 09:22:40 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2016-01-20 09:22:40 +0000
commit20b59cc3db7d50395bc9677a300e26f77c1fd062 (patch)
tree048b7fa75396ac5a84f684c1a9ac1b127dfd5498 /usr.bin/ssh/misc.c
parentc96cc85f1fc3c943e2d25bdc62ed559838682222 (diff)
Include sys/time.h for gettimeofday. From sortie at maxsi.org.
Diffstat (limited to 'usr.bin/ssh/misc.c')
-rw-r--r--usr.bin/ssh/misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/misc.c b/usr.bin/ssh/misc.c
index af90560a9bd..e81d2a161f4 100644
--- a/usr.bin/ssh/misc.c
+++ b/usr.bin/ssh/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.100 2015/12/04 21:51:06 tobias Exp $ */
+/* $OpenBSD: misc.c,v 1.101 2016/01/20 09:22:39 dtucker Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
* Copyright (c) 2005,2006 Damien Miller. All rights reserved.
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
+#include <sys/time.h>
#include <sys/un.h>
#include <net/if.h>