Revert "Include time.h when testing for clock_xxx functions and syscalls"
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Thu, 20 Oct 2016 13:50:16 +0000 (14:50 +0100)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Thu, 20 Oct 2016 13:50:16 +0000 (14:50 +0100)
This was meant to go on my smoke-me branch, not blead.

This reverts commit 1946ca1569f5d47e6ceffab716bce3a4169646fe.

dist/Time-HiRes/Makefile.PL

index 9889f1d..340ee99 100644 (file)
@@ -290,7 +290,6 @@ 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)
 {
@@ -310,7 +309,6 @@ 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;