[openssh-commits] [openssh] 01/01: Add sys/time.h for gettimeofday.

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Dec 15 14:01:04 AEDT 2015


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit c6f5f01651526e88c00d988ce59d71f481ebac62
Author: Darren Tucker <dtucker at zip.com.au>
Date:   Tue Dec 15 13:59:12 2015 +1100

    Add sys/time.h for gettimeofday.
    
    Should allow it it compile with MUSL libc.  Based on patch from
    doughdemon via github.
---
 loginrec.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/loginrec.c b/loginrec.c
index 94ae81d..788553e 100644
--- a/loginrec.c
+++ b/loginrec.c
@@ -150,6 +150,9 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/socket.h>
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+#endif
 
 #include <netinet/in.h>
 

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list