summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-01-31 22:38:04 +0000
committerJim Meyering <jim@meyering.net>2000-01-31 22:38:04 +0000
commit490bf3d6e9c82f14c7cee39a7e62a8a7fb0f2dce (patch)
treebbc777ddb5377977ca75d7c0bff67f89e6a765df /lib
parent6ce0ab6d40566ff22b631442f172b7b8a9c43073 (diff)
downloadcoreutils-490bf3d6e9c82f14c7cee39a7e62a8a7fb0f2dce.tar.xz
(nanosleep): Guard declaration with `#if ! HAVE_DECL_NANOSLEEP'.
Diffstat (limited to 'lib')
-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