summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-01-02 09:20:33 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-01-02 09:20:33 +0000
commit95a70af5e7511d09d525487aa8f4cb417865ba7d (patch)
treefc329e3f92e253ff66c962cbba916e2d9ecd41c7 /libc/stdio
parent78172165a89a6343e1ecbb0e33bc997eb4ded125 (diff)
Oops... temporarily support the old stdio code.
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/popen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/stdio/popen.c b/libc/stdio/popen.c
index ad9b84cf7..8ebaedfd6 100644
--- a/libc/stdio/popen.c
+++ b/libc/stdio/popen.c
@@ -54,6 +54,11 @@ static pthread_mutex_t mylock = PTHREAD_MUTEX_INITIALIZER;
# define VFORK_UNLOCK UNLOCK
#endif
+/* Temporarily support old stdio code. */
+#ifndef __MASK_READING
+#define __filedes filedes
+#endif
+
struct popen_list_item {
struct popen_list_item *next;
FILE *f;