summaryrefslogtreecommitdiff
path: root/libgfortran/intrinsics/getcwd.c
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2014-05-27 11:15:52 +0200
committerUros Bizjak <uros@gcc.gnu.org>2014-05-27 11:15:52 +0200
commitd9f99ec4164e098f2bf2be1d486bd8ae48954ada (patch)
tree6f521a150ced1c2ec08a49987d533d15f6c30a3e /libgfortran/intrinsics/getcwd.c
parent0389fbb55be247b25165580f1f1073d7d7487937 (diff)
downloadgcc-d9f99ec4164e098f2bf2be1d486bd8ae48954ada.tar.gz
getcwd.c: Include stdlib.h.
* intrinsics/getcwd.c: Include stdlib.h. From-SVN: r210962
Diffstat (limited to 'libgfortran/intrinsics/getcwd.c')
-rw-r--r--libgfortran/intrinsics/getcwd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgfortran/intrinsics/getcwd.c b/libgfortran/intrinsics/getcwd.c
index 2bc1fbc8266..94808edfc50 100644
--- a/libgfortran/intrinsics/getcwd.c
+++ b/libgfortran/intrinsics/getcwd.c
@@ -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>