From: jb Date: Tue, 1 Feb 2011 08:27:55 +0000 (+0000) Subject: Include errno.h needed by fallbacks X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b960a7bf2ede95bb66456fba9c76c0e57434df7;p=thirdparty%2Fgcc.git Include errno.h needed by fallbacks git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169467 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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