summaryrefslogtreecommitdiff
path: root/src/stdio/freopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/freopen.c')
-rw-r--r--src/stdio/freopen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdio/freopen.c b/src/stdio/freopen.c
index a9c83c85..6d6d21d2 100644
--- a/src/stdio/freopen.c
+++ b/src/stdio/freopen.c
@@ -1,6 +1,7 @@
#include "stdio_impl.h"
#include <fcntl.h>
#include <unistd.h>
+#include "libc.h"
/* The basic idea of this implementation is to open a new FILE,
* hack the necessary parts of the new FILE into the old one, then