In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/1946ca1569f5d47e6ceffab716bce3a4169646fe?hp=a9f5ab8de62884067808d6b114a8c2df780fb054>
- Log ----------------------------------------------------------------- commit 1946ca1569f5d47e6ceffab716bce3a4169646fe Author: Dagfinn Ilmari Mannsåker <[email protected]> Date: Thu Oct 20 13:29:50 2016 +0100 Include time.h when testing for clock_xxx functions and syscalls ----------------------------------------------------------------------- Summary of changes: dist/Time-HiRes/Makefile.PL | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dist/Time-HiRes/Makefile.PL b/dist/Time-HiRes/Makefile.PL index 340ee99..9889f1d 100644 --- a/dist/Time-HiRes/Makefile.PL +++ b/dist/Time-HiRes/Makefile.PL @@ -290,6 +290,7 @@ sub has_clock_xxx_syscall { #include "EXTERN.h" #include "perl.h" #include "XSUB.h" +#include <time.h> #include <$SYSCALL_H> int main(int argc, char** argv) { @@ -309,6 +310,7 @@ sub has_clock_xxx { #include "EXTERN.h" #include "perl.h" #include "XSUB.h" +#include <time.h> int main(int argc, char** argv) { struct timespec ts; -- Perl5 Master Repository
