aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/intrinsics
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2011-02-01 10:27:55 +0200
committerJanne Blomqvist <jb@gcc.gnu.org>2011-02-01 10:27:55 +0200
commit3eaa6afc66b55971d1e5ee4ccfbf4062f7ce44c5 (patch)
tree986d34dcb3a6d1540573d1cdb9c5491be7f9959f /libgfortran/intrinsics
parent21ac7f65b8d16f21a6143d637697ef28e77e57ac (diff)
downloadgcc-3eaa6afc66b55971d1e5ee4ccfbf4062f7ce44c5.zip
gcc-3eaa6afc66b55971d1e5ee4ccfbf4062f7ce44c5.tar.gz
gcc-3eaa6afc66b55971d1e5ee4ccfbf4062f7ce44c5.tar.bz2
Include errno.h needed by fallbacks
From-SVN: r169467
Diffstat (limited to 'libgfortran/intrinsics')
-rw-r--r--libgfortran/intrinsics/time_1.h2
1 files changed, 2 insertions, 0 deletions
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