summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/bsd-misc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h
index 23c18d676..f5b032bbc 100644
--- a/openbsd-compat/bsd-misc.h
+++ b/openbsd-compat/bsd-misc.h
@@ -85,6 +85,7 @@ struct timespec {
85 time_t tv_sec; 85 time_t tv_sec;
86 long tv_nsec; 86 long tv_nsec;
87}; 87};
88#endif /* !HAVE_STRUCT_TIMESPEC */
88 89
89#if !defined(HAVE_NANOSLEEP) && !defined(HAVE_NSLEEP) 90#if !defined(HAVE_NANOSLEEP) && !defined(HAVE_NSLEEP)
90int nanosleep(const struct timespec *, struct timespec *); 91int nanosleep(const struct timespec *, struct timespec *);
@@ -98,8 +99,6 @@ int nanosleep(const struct timespec *, struct timespec *);
98int utimensat(int, const char *, const struct timespec[2], int); 99int utimensat(int, const char *, const struct timespec[2], int);
99#endif /* !HAVE_UTIMENSAT */ 100#endif /* !HAVE_UTIMENSAT */
100 101
101#endif /* !HAVE_STRUCT_TIMESPEC */
102
103#ifndef HAVE_USLEEP 102#ifndef HAVE_USLEEP
104int usleep(unsigned int useconds); 103int usleep(unsigned int useconds);
105#endif 104#endif