"Bruno Haible" <[EMAIL PROTECTED]> writes: >> For the special case of nanosleep, one might want nanosleep declared >> even if the nanosleep module isn't being used, for the benefit of >> hosts that define nanosleep but don't declare it. > > Huh? If the program uses nanosleep(), it needs the gnulib module, > for those hosts that don't have the function at all.
I was thinking of programs that use nanosleep only if HAVE_NANOSLEEP, and which include timespec.h to get the nanosleep declaration. I don't know of any such programs offhand, but it's plausible.