diff --git a/include/stdio.h b/include/stdio.h index 4ea9d2a18b63..75c265485f1b 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -357,6 +357,7 @@ ssize_t getdelim(char ** __restrict, size_t * __restrict, int, FILE *open_memstream(char **, size_t *); int renameat(int, const char *, int, const char *); int vdprintf(int, const char * __restrict, __va_list); +/* _WITH_GETLINE to allow pre 11 sources to build on 11+ systems */ ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict); int dprintf(int, const char * __restrict, ...); #endif /* __POSIX_VISIBLE >= 200809 */