about summary refs log tree commit diff
path: root/libio/freopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/freopen.c')
-rw-r--r--libio/freopen.c1
1 files changed, 1 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>