summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-11-03 06:30:46 +0100
committerDarren Tucker <dtucker@zip.com.au>2013-11-03 06:30:46 +0100
commitd52770452308e5c2e99f4da6edaaa77ef078b610 (patch)
treea1add1266e4917b37842ac75a9681deb4b70e0fa
parent - jmc@cvs.openbsd.org 2013/10/29 18:49:32 (diff)
downloadopenssh-d52770452308e5c2e99f4da6edaaa77ef078b610.tar.xz
openssh-d52770452308e5c2e99f4da6edaaa77ef078b610.zip
- (dtucker) [openbsd-compat/bsd-misc.c] Include time.h for nanosleep.
From OpenSMTPD where it prevents "implicit declaration" warnings (it's a no-op in OpenSSH). From chl at openbsd.
-rw-r--r--ChangeLog5
-rw-r--r--openbsd-compat/bsd-misc.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b4c028568..684675ca6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+20131103
+ - (dtucker) [openbsd-compat/bsd-misc.c] Include time.h for nanosleep.
+ From OpenSMTPD where it prevents "implicit declaration" warnings (it's
+ a no-op in OpenSSH). From chl at openbsd.
+
20131030
- (djm) OpenBSD CVS Sync
- djm@cvs.openbsd.org 2013/10/29 09:42:11
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c
index d75854e83..65e800397 100644
--- a/openbsd-compat/bsd-misc.c
+++ b/openbsd-compat/bsd-misc.c
@@ -28,6 +28,7 @@
#include <string.h>
#include <signal.h>
#include <stdlib.h>
+#include <time.h>
#include <unistd.h>
#include "xmalloc.h"