This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
c99 requires functions to be declared before they're called 60/head
authorTony Cook <tony@develop-help.com>
Tue, 10 Sep 2019 00:35:39 +0000 (10:35 +1000)
committerTony Cook <tony@develop-help.com>
Tue, 10 Sep 2019 00:35:39 +0000 (10:35 +1000)
and exit() is declared in stdlib.h

U/perl/d_futimes.U

index ffe80d3..be05501 100644 (file)
@@ -28,6 +28,7 @@ $cat >try.c <<EOCP
 #include <sys/time.h>
 #include <errno.h>
 #include <fcntl.h>
+#include <stdlib.h>
 
 int main ()
 {