From: Marek Polacek Date: Thu, 13 Nov 2014 18:07:44 +0000 (+0000) Subject: access.c: Include . X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=47bf94b79a5c4937a7f922c681fa556154dcb2d3;p=gcc.git access.c: Include . * 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. From-SVN: r217514 --- diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 119e1aef402..b941e734673 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 65a0a103e25..0c18da028fe 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 87419a82e3c..193e482ab37 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 c42fa8c28fa..bdcb6761be5 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 c6084a1cc66..dd9c470a5dd 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 a8f09728706..2bb1305c102 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 aabf8211c70..78c3d811f90 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 5c53cb75378..52a3c4b0d34 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 2971a62e7e0..47529881449 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