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