diff options
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 4 | ||||
-rw-r--r-- | libgfortran/intrinsics/time_1.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 8c7ad7a7c86..3a51f9b1758 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,7 @@ +2011-02-01 Janne Blomqvist <jb@gcc.gnu.org> + + * intrinsics/time_1.h: Include errno.h needed by fallbacks. + 2011-01-31 Janne Blomqvist <jb@gcc.gnu.org> * 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 4fd82356852..58c51af287a 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 <unistd.h> #endif +#include <errno.h> + /* 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 |