- (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.
This commit is contained in:
Darren Tucker 2013-11-03 16:30:46 +11:00
parent 63857c9340
commit d527704523
2 changed files with 6 additions and 0 deletions

View File

@ -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 20131030
- (djm) OpenBSD CVS Sync - (djm) OpenBSD CVS Sync
- djm@cvs.openbsd.org 2013/10/29 09:42:11 - djm@cvs.openbsd.org 2013/10/29 09:42:11

View File

@ -28,6 +28,7 @@
#include <string.h> #include <string.h>
#include <signal.h> #include <signal.h>
#include <stdlib.h> #include <stdlib.h>
#include <time.h>
#include <unistd.h> #include <unistd.h>
#include "xmalloc.h" #include "xmalloc.h"