This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add <stdlib.h> for futimes compilation test.
authorAndy Dougherty <doughera@lafayette.edu>
Tue, 27 Aug 2019 16:55:57 +0000 (12:55 -0400)
committerAndy Dougherty <doughera@lafayette.edu>
Sun, 29 Dec 2019 22:39:32 +0000 (17:39 -0500)
Since the test uses exit(), the appropriate header should be
included.  clang++ throws an error otherwise.

Configure

index cec4b17..65e624b 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -14115,6 +14115,7 @@ echo " "
 echo "Checking if you have a working futimes()" >&4
 $cat >try.c <<EOCP
 #include <stdio.h>
+#include <stdlib.h>
 #include <sys/time.h>
 #include <errno.h>
 #include <fcntl.h>