diff options
author | Aaron Crane <arc@cpan.org> | 2017-10-13 11:18:10 +0200 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2017-10-21 16:52:50 +0100 |
commit | 9245da2a079b4997c421147be2ea97e85dad2589 (patch) | |
tree | 658904d55b098cbb1aada679e106b5107732eeb0 /dist | |
parent | 1509effa50d0917578f8ab4dd412918cb11d6fcb (diff) | |
download | perl-9245da2a079b4997c421147be2ea97e85dad2589.tar.gz |
Rely on C89 <time.h>
The Configure script here was built from a metaconfig unit that also assumes
<time.h> exists.
Diffstat (limited to 'dist')
-rw-r--r-- | dist/IO/poll.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dist/IO/poll.c b/dist/IO/poll.c index 03f6604eeb..344a406b52 100644 --- a/dist/IO/poll.c +++ b/dist/IO/poll.c @@ -18,9 +18,7 @@ #ifdef I_SYS_TIME # include <sys/time.h> #endif -#ifdef I_TIME -# include <time.h> -#endif +#include <time.h> #include <sys/types.h> #if defined(HAS_SOCKET) && !defined(VMS) && !defined(ultrix) /* VMS handles sockets via vmsish.h, ULTRIX dies of socket struct redefinitions */ # include <sys/socket.h> |