diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 119e1aef402a..b941e734673a 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,14 @@ +2014-11-13 Marek Polacek + + * intrinsics/access.c: Include . + * intrinsics/chdir.c: Likewise. + * intrinsics/chmod.c: Likewise. + * intrinsics/link.c: Likewise. + * intrinsics/perror.c: Likewise. + * intrinsics/rename.c: Likewise. + * intrinsics/symlnk.c: Likewise. + * intrinsics/unlink.c: Likewise. + 2014-11-13 Janne Blomqvist PR libfortran/60324 diff --git a/libgfortran/intrinsics/access.c b/libgfortran/intrinsics/access.c index 65a0a103e251..0c18da028fea 100644 --- a/libgfortran/intrinsics/access.c +++ b/libgfortran/intrinsics/access.c @@ -26,6 +26,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "libgfortran.h" #include +#include #include #ifdef HAVE_UNISTD_H diff --git a/libgfortran/intrinsics/chdir.c b/libgfortran/intrinsics/chdir.c index 87419a82e3c8..193e482ab374 100644 --- a/libgfortran/intrinsics/chdir.c +++ b/libgfortran/intrinsics/chdir.c @@ -26,6 +26,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "libgfortran.h" #include +#include #include #ifdef HAVE_UNISTD_H diff --git a/libgfortran/intrinsics/chmod.c b/libgfortran/intrinsics/chmod.c index c42fa8c28fa3..bdcb6761be52 100644 --- a/libgfortran/intrinsics/chmod.c +++ b/libgfortran/intrinsics/chmod.c @@ -28,6 +28,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #if defined(HAVE_SYS_STAT_H) #include /* For memcpy. */ +#include /* For free. */ #include /* For stat, chmod and umask. */ diff --git a/libgfortran/intrinsics/link.c b/libgfortran/intrinsics/link.c index c6084a1cc668..dd9c470a5dde 100644 --- a/libgfortran/intrinsics/link.c +++ b/libgfortran/intrinsics/link.c @@ -26,6 +26,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "libgfortran.h" #include +#include #include #ifdef HAVE_UNISTD_H diff --git a/libgfortran/intrinsics/perror.c b/libgfortran/intrinsics/perror.c index a8f09728706e..2bb1305c102a 100644 --- a/libgfortran/intrinsics/perror.c +++ b/libgfortran/intrinsics/perror.c @@ -27,6 +27,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include #include +#include /* SUBROUTINE PERROR(STRING) CHARACTER(len=*), INTENT(IN) :: STRING */ diff --git a/libgfortran/intrinsics/rename.c b/libgfortran/intrinsics/rename.c index aabf8211c70b..78c3d811f901 100644 --- a/libgfortran/intrinsics/rename.c +++ b/libgfortran/intrinsics/rename.c @@ -26,6 +26,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "libgfortran.h" #include +#include #include diff --git a/libgfortran/intrinsics/symlnk.c b/libgfortran/intrinsics/symlnk.c index 5c53cb75378b..52a3c4b0d34c 100644 --- a/libgfortran/intrinsics/symlnk.c +++ b/libgfortran/intrinsics/symlnk.c @@ -26,6 +26,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "libgfortran.h" #include +#include #include #ifdef HAVE_UNISTD_H diff --git a/libgfortran/intrinsics/unlink.c b/libgfortran/intrinsics/unlink.c index 2971a62e7e07..475298814494 100644 --- a/libgfortran/intrinsics/unlink.c +++ b/libgfortran/intrinsics/unlink.c @@ -25,6 +25,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #include "libgfortran.h" +#include #include #include