diff options
Diffstat (limited to 'lib/libc/stdio/fmemopen.c')
| -rw-r--r-- | lib/libc/stdio/fmemopen.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/stdio/fmemopen.c b/lib/libc/stdio/fmemopen.c index 920484b3..e1b2ccff 100644 --- a/lib/libc/stdio/fmemopen.c +++ b/lib/libc/stdio/fmemopen.c @@ -1,6 +1,5 @@ -#include "__stdio.h" // for __FILE, __libc_fadd -#include "features.h" // for __weak -#include "stddef.h" // for NULL +#include "__stdio.h" // for __FILE, __libc_fadd +#include "stddef.h" // for NULL #include <errno.h> // for EINVAL, errno #include <fcntl.h> // for O_WRONLY, O_CREAT, O_RDONLY, O_APPEND, O_RDWR @@ -8,6 +7,8 @@ #include <stdlib.h> // for calloc, free #include <string.h> // for strchr +#include <sys/cdefs.h> + __weak void __stdio_cleanup(void) { } |
