In perl.git, the branch smoke-me/ilmari/clockid_t has been updated <http://perl5.git.perl.org/perl.git/commitdiff/40d9d74aef454b1d8e7234c93a83b7438d6cac21?hp=917aa34e0c51665bfa0b6931465f4698a3f42842>
- Log ----------------------------------------------------------------- commit 40d9d74aef454b1d8e7234c93a83b7438d6cac21 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
