mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-21 17:40:04 +00:00
Fix ifdefs to not mask needed bits.
This commit is contained in:
parent
7694e9d2fb
commit
5fe81da226
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user