summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/popen.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/popen.c')
-rw-r--r--lib/libc/stdio/popen.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/stdio/popen.c b/lib/libc/stdio/popen.c
index 5720fba3..a1ef6a9f 100644
--- a/lib/libc/stdio/popen.c
+++ b/lib/libc/stdio/popen.c
@@ -1,14 +1,14 @@
-#include "stddef.h" // for NULL
+#include <__stdio.h>
+#include <stddef.h> // for NULL
-#include <__stdio.h> // for __FILE
-#include <errno.h> // for EINVAL, errno
-#include <fcntl.h> // for O_RDONLY, O_CLOEXEC, O_WRONLY
-#include <stdio.h> // for FILE, fclose, fdopen, popen
-#include <unistd.h> // for close, dup2, _exit, execl, fork, pipe2, STDIN_F...
+#include <errno.h> // for EINVAL, errno
+#include <fcntl.h> // for O_RDONLY, O_CLOEXEC, O_WRONLY
+#include <stdio.h> // for FILE, fclose, fdopen, popen
+#include <unistd.h> // for close, dup2, _exit, execl, fork, pipe2, STDIN_F...
FILE *popen(const char *command, const char *mode)
{
- FILE *stream;
+ struct __FILE *stream;
int oflag;
int pipefd[2];