aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
Diffstat (limited to 'libio')
-rw-r--r--libio/freopen.c1
-rw-r--r--libio/freopen64.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libio/freopen.c b/libio/freopen.c
index 2e142b0802..584b6e033d 100644
--- a/libio/freopen.c
+++ b/libio/freopen.c
@@ -27,6 +27,7 @@
#include "libioP.h"
#include "stdio.h"
+#include <stdlib.h>
#include <shlib-compat.h>
#include <fd_to_filename.h>
diff --git a/libio/freopen64.c b/libio/freopen64.c
index 6ac62e44e3..28cfb79df7 100644
--- a/libio/freopen64.c
+++ b/libio/freopen64.c
@@ -27,6 +27,7 @@
#include "libioP.h"
#include "stdio.h"
+#include <stdlib.h>
#include <fd_to_filename.h>