mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-22 01:50:16 +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;
|
time_t tv_sec;
|
||||||
long tv_nsec;
|
long tv_nsec;
|
||||||
};
|
};
|
||||||
|
#endif /* !HAVE_STRUCT_TIMESPEC */
|
||||||
|
|
||||||
#if !defined(HAVE_NANOSLEEP) && !defined(HAVE_NSLEEP)
|
#if !defined(HAVE_NANOSLEEP) && !defined(HAVE_NSLEEP)
|
||||||
int nanosleep(const struct timespec *, struct timespec *);
|
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);
|
int utimensat(int, const char *, const struct timespec[2], int);
|
||||||
#endif /* !HAVE_UTIMENSAT */
|
#endif /* !HAVE_UTIMENSAT */
|
||||||
|
|
||||||
#endif /* !HAVE_STRUCT_TIMESPEC */
|
|
||||||
|
|
||||||
#ifndef HAVE_USLEEP
|
#ifndef HAVE_USLEEP
|
||||||
int usleep(unsigned int useconds);
|
int usleep(unsigned int useconds);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user