[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssh-commits
Subject:    [openssh-commits] [openssh] 01/01: Fix ifdefs to not mask needed bits.
From:       git+noreply () mindrot ! org
Date:       2019-10-28 10:23:36
Message-ID: f1d8c105295a507d () fuyu ! mindrot ! org
[Download RAW message or body]

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

dtucker pushed a commit to branch master
in repository openssh.

commit 5fe81da22652f8caa63e9e3a1af519a85d36337e
Author: Darren Tucker <dtucker@dtucker.net>
Date:   Mon Oct 28 21:19:47 2019 +1100

    Fix ifdefs to not mask needed bits.
---
 openbsd-compat/bsd-misc.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h
index 23c18d67..f5b032bb 100644
--- a/openbsd-compat/bsd-misc.h
+++ b/openbsd-compat/bsd-misc.h
@@ -85,6 +85,7 @@ struct timespec {
 	time_t	tv_sec;
 	long	tv_nsec;
 };
+#endif /* !HAVE_STRUCT_TIMESPEC */
 
 #if !defined(HAVE_NANOSLEEP) && !defined(HAVE_NSLEEP)
 int nanosleep(const struct timespec *, struct timespec *);
@@ -98,8 +99,6 @@ int nanosleep(const struct timespec *, struct timespec *);
 int utimensat(int, const char *, const struct timespec[2], int);
 #endif /* !HAVE_UTIMENSAT */
 
-#endif /* !HAVE_STRUCT_TIMESPEC */
-
 #ifndef HAVE_USLEEP
 int usleep(unsigned int useconds);
 #endif

-- 
To stop receiving notification emails like this one, please contact
djm@mindrot.org.
_______________________________________________
openssh-commits mailing list
openssh-commits@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic