From a3f7fe07da4d7fd3283757af337e27390ee198cc Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 31 Jan 2000 22:38:04 +0000 Subject: [PATCH] (nanosleep): Guard declaration with `#if ! HAVE_DECL_NANOSLEEP'. --- lib/nanosleep.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/nanosleep.h b/lib/nanosleep.h index be28d7637d..92898d3617 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 -- 2.30.2