diff options
author | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2016-10-20 13:29:50 +0100 |
---|---|---|
committer | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2016-10-20 13:29:50 +0100 |
commit | 1946ca1569f5d47e6ceffab716bce3a4169646fe (patch) | |
tree | b64a37e04d7badd041ecc890283c49d4f874d490 /dist | |
parent | a9f5ab8de62884067808d6b114a8c2df780fb054 (diff) | |
download | perl-1946ca1569f5d47e6ceffab716bce3a4169646fe.tar.gz |
Include time.h when testing for clock_xxx functions and syscalls
Diffstat (limited to 'dist')
-rw-r--r-- | dist/Time-HiRes/Makefile.PL | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dist/Time-HiRes/Makefile.PL b/dist/Time-HiRes/Makefile.PL index 340ee99a47..9889f1dd26 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; |