Add getline compat.

This commit is contained in:
Nicholas Marriott
2020-06-18 21:01:55 +01:00
parent 3df68d6b00
commit 3a1fc7315c
3 changed files with 99 additions and 0 deletions

View File

@ -345,6 +345,11 @@ int vasprintf(char **, const char *, va_list);
char *fgetln(FILE *, size_t *);
#endif
#ifndef HAVE_GETLINE
/* getline.c */
ssize_t getline(char **, size_t *, FILE *);
#endif
#ifndef HAVE_SETENV
/* setenv.c */
int setenv(const char *, const char *, int);