From: Jim Meyering Date: Mon, 31 Jan 2000 22:38:04 +0000 (+0000) Subject: (nanosleep): Guard declaration with `#if ! HAVE_DECL_NANOSLEEP'. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3f7fe07da4d7fd3283757af337e27390ee198cc;p=pspp (nanosleep): Guard declaration with `#if ! HAVE_DECL_NANOSLEEP'. --- 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