aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/intrinsics/chdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/intrinsics/chdir.c')
-rw-r--r--libgfortran/intrinsics/chdir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgfortran/intrinsics/chdir.c b/libgfortran/intrinsics/chdir.c
index 87419a8..193e482 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 <errno.h>
+#include <stdlib.h>
#include <string.h>
#ifdef HAVE_UNISTD_H