access.c: Include <stdlib.h>.
authorMarek Polacek <polacek@redhat.com>
Thu, 13 Nov 2014 18:07:44 +0000 (18:07 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 13 Nov 2014 18:07:44 +0000 (18:07 +0000)
* intrinsics/access.c: Include <stdlib.h>.
* 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

libgfortran/ChangeLog
libgfortran/intrinsics/access.c
libgfortran/intrinsics/chdir.c
libgfortran/intrinsics/chmod.c
libgfortran/intrinsics/link.c
libgfortran/intrinsics/perror.c
libgfortran/intrinsics/rename.c
libgfortran/intrinsics/symlnk.c
libgfortran/intrinsics/unlink.c

index 119e1aef402a1924f5df37d134b5e6d723c66d03..b941e734673a57ebf768319fcca596540d277689 100644 (file)
@@ -1,3 +1,14 @@
+2014-11-13  Marek Polacek  <polacek@redhat.com>
+
+       * intrinsics/access.c: Include <stdlib.h>.
+       * 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  <jb@gcc.gnu.org>
 
        PR libfortran/60324
index 65a0a103e2513cf3e84d0e95ff04b47334740c3b..0c18da028feace3ae409cbbeabb364cec2f947b8 100644 (file)
@@ -26,6 +26,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #include "libgfortran.h"
 
 #include <errno.h>
+#include <stdlib.h>
 #include <string.h>
 
 #ifdef HAVE_UNISTD_H
index 87419a82e3c88599f43246549e9ff79a20f78c45..193e482ab37444d43ead9fa03aaec8dcae597ff8 100644 (file)
@@ -26,6 +26,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #include "libgfortran.h"
 
 #include <errno.h>
+#include <stdlib.h>
 #include <string.h>
 
 #ifdef HAVE_UNISTD_H
index c42fa8c28fa388180ef1aa21fd0f27bf27d03085..bdcb6761be526233226add92dfc097d250f47f3b 100644 (file)
@@ -28,6 +28,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #if defined(HAVE_SYS_STAT_H)
 
 #include <string.h>    /* For memcpy. */
+#include <stdlib.h>    /* For free.  */
 #include <sys/stat.h>  /* For stat, chmod and umask.  */
 
 
index c6084a1cc66804ac4537b9a17bd61f0ebf9fc4ce..dd9c470a5dde5d1516f0fa5a04989b0d91110369 100644 (file)
@@ -26,6 +26,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #include "libgfortran.h"
 
 #include <errno.h>
+#include <stdlib.h>
 #include <string.h>
 
 #ifdef HAVE_UNISTD_H
index a8f09728706eff8e4ee5475318c2b875cdfebd95..2bb1305c102a37814c27cecd8a808a7d7d50a108 100644 (file)
@@ -27,6 +27,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 
 #include <errno.h>
 #include <string.h>
+#include <stdlib.h>
 
 /* SUBROUTINE PERROR(STRING)
    CHARACTER(len=*), INTENT(IN) :: STRING   */
index aabf8211c70b88dc42a7305d23aa5b8809d32fca..78c3d811f901e58e99c36195087be94e6d3cec12 100644 (file)
@@ -26,6 +26,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #include "libgfortran.h"
 
 #include <errno.h>
+#include <stdlib.h>
 #include <string.h>
 
 
index 5c53cb75378b98bd9c24b8e3fbfa37653881e064..52a3c4b0d34c847baf48a903391e52ac524f0010 100644 (file)
@@ -26,6 +26,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #include "libgfortran.h"
 
 #include <errno.h>
+#include <stdlib.h>
 #include <string.h>
 
 #ifdef HAVE_UNISTD_H
index 2971a62e7e079be0f65bf11c5612b658c6013a76..47529881449490c417b68ead85c2dd36205e98cb 100644 (file)
@@ -25,6 +25,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 
 #include "libgfortran.h"
 
+#include <stdlib.h>
 #include <string.h>
 #include <errno.h>