summaryrefslogtreecommitdiffstats
path: root/misc.c
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2016-01-20 09:22:39 +0000
committerDamien Miller <djm@mindrot.org>2016-01-27 16:54:25 +1100
commit65a3c0dacbc7dbb75ddb6a70ebe22d8de084d0b0 (patch)
treeba802718fdbb5fa6339e9b8363d1b1e31f1a1109 /misc.c
parentfc77ccdc2ce6d5d06628b8da5048a6a5f6ffca5a (diff)
upstream commit
Include sys/time.h for gettimeofday. From sortie at maxsi.org. Upstream-ID: 6ed0c33b836d9de0a664cd091e86523ecaa2fb3b
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index 3170218e..de7e1fac 100644
--- a/misc.c
+++ b/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.
@@ -29,6 +29,7 @@
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
+#include <sys/time.h>
#include <sys/un.h>
#include <limits.h>