diff options
Diffstat (limited to 'libc/stdio/popen.c')
-rw-r--r-- | libc/stdio/popen.c | 5 |
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; |