diff options
author | Darren Tucker <dtucker@zip.com.au> | 2013-11-03 16:30:46 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2013-11-03 16:30:46 +1100 |
commit | d52770452308e5c2e99f4da6edaaa77ef078b610 (patch) | |
tree | a1add1266e4917b37842ac75a9681deb4b70e0fa /openbsd-compat/bsd-misc.c | |
parent | 63857c9340d3482746a5622ffdacc756751f6448 (diff) |
- (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.
Diffstat (limited to 'openbsd-compat/bsd-misc.c')
-rw-r--r-- | openbsd-compat/bsd-misc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ | |||
28 | #include <string.h> | 28 | #include <string.h> |
29 | #include <signal.h> | 29 | #include <signal.h> |
30 | #include <stdlib.h> | 30 | #include <stdlib.h> |
31 | #include <time.h> | ||
31 | #include <unistd.h> | 32 | #include <unistd.h> |
32 | 33 | ||
33 | #include "xmalloc.h" | 34 | #include "xmalloc.h" |