diff options
author | jb <jb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-01 08:27:55 +0000 |
---|---|---|
committer | jb <jb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-02-01 08:27:55 +0000 |
commit | 9b960a7bf2ede95bb66456fba9c76c0e57434df7 (patch) | |
tree | 986d34dcb3a6d1540573d1cdb9c5491be7f9959f /libgfortran | |
parent | 1e2cd889176b630cd27a3b92b17744a6f13e5c78 (diff) | |
download | gcc-9b960a7bf2ede95bb66456fba9c76c0e57434df7.tar.gz |
Include errno.h needed by fallbacks
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169467 138bc75d-0d04-0410-961f-82ee72b054a4
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 |