summaryrefslogtreecommitdiff
path: root/lib/nanosleep.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nanosleep.h')
-rw-r--r--lib/nanosleep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/nanosleep.h b/lib/nanosleep.h
index be28d7637..92898d361 100644
--- a/lib/nanosleep.h
+++ b/lib/nanosleep.h
@@ -50,8 +50,10 @@ struct timespec
};
# endif
+# if ! HAVE_DECL_NANOSLEEP
int
nanosleep PARAMS ((const struct timespec *requested_delay,
struct timespec *remaining_delay));
+# endif
#endif