From 3eaa6afc66b55971d1e5ee4ccfbf4062f7ce44c5 Mon Sep 17 00:00:00 2001 From: Janne Blomqvist Date: Tue, 1 Feb 2011 10:27:55 +0200 Subject: [PATCH] Include errno.h needed by fallbacks From-SVN: r169467 --- libgfortran/ChangeLog | 4 ++++ libgfortran/intrinsics/time_1.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 8c7ad7a7c86b..3a51f9b1758d 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,7 @@ +2011-02-01 Janne Blomqvist + + * intrinsics/time_1.h: Include errno.h needed by fallbacks. + 2011-01-31 Janne Blomqvist * intrinsics/time_1.h: Fix definition of GF_CLOCK_MONOTONIC macro. diff --git a/libgfortran/intrinsics/time_1.h b/libgfortran/intrinsics/time_1.h index 4fd823568524..58c51af287aa 100644 --- a/libgfortran/intrinsics/time_1.h +++ b/libgfortran/intrinsics/time_1.h @@ -29,6 +29,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include #endif +#include + /* The time related intrinsics (DTIME, ETIME, CPU_TIME) to "compare different algorithms on the same computer or discover which parts are the most expensive", need a way to get the CPU time with the