[PATCH] bfd: add missing include <time.h>

Nick Clifton nickc@redhat.com
Mon Mar 18 11:49:38 GMT 2024
Hi Tom,

> Clément> This patch looks trivial. Though, I'm wondering if binutils might
> Clément> support some non-posix systems where this new include could trigger
> Clément> issues. Do you think this could be the case ?
> 
> FWIW a good resource for answering this kind of question is the gnulib
> manual.  It normally documents when a header is missing or when it
> doesn't define something that it ought to.
> 
> On this basis time.h seems safe:
> 
> https://www.gnu.org/software/gnulib/manual/html_node/time_002eh.html

Thanks for the tip and for checking. :-)

Cheers
   Nick




More information about the Binutils mailing list