diff options
author | Janne Blomqvist <jb@gcc.gnu.org> | 2011-02-01 10:27:55 +0200 |
---|---|---|
committer | Janne Blomqvist <jb@gcc.gnu.org> | 2011-02-01 10:27:55 +0200 |
commit | 3eaa6afc66b55971d1e5ee4ccfbf4062f7ce44c5 (patch) | |
tree | 986d34dcb3a6d1540573d1cdb9c5491be7f9959f | |
parent | 21ac7f65b8d16f21a6143d637697ef28e77e57ac (diff) | |
download | gcc-3eaa6afc66b55971d1e5ee4ccfbf4062f7ce44c5.zip gcc-3eaa6afc66b55971d1e5ee4ccfbf4062f7ce44c5.tar.gz gcc-3eaa6afc66b55971d1e5ee4ccfbf4062f7ce44c5.tar.bz2 |
Include errno.h needed by fallbacks
From-SVN: r169467
-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 8c7ad7a..3a51f9b 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 4fd8235..58c51af 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 |