summaryrefslogtreecommitdiff
path: root/libgfortran/intrinsics/symlnk.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/intrinsics/symlnk.c')
-rw-r--r--libgfortran/intrinsics/symlnk.c1
1 files changed, 1 insertions, 0 deletions
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 <errno.h>
+#include <stdlib.h>
#include <string.h>
#ifdef HAVE_UNISTD_H