From e8701195e66f2d27ffe17fb514eae8173795aaf7 Mon Sep 17 00:00:00 2001 From: Georgiy Bondarenko <69736697+nehilo@users.noreply.github.com> Date: Thu, 4 Mar 2021 22:54:23 +0500 Subject: Initial commit --- buildroot/share/fonts/getline.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 buildroot/share/fonts/getline.h (limited to 'buildroot/share/fonts/getline.h') diff --git a/buildroot/share/fonts/getline.h b/buildroot/share/fonts/getline.h new file mode 100644 index 0000000..f21f8ce --- /dev/null +++ b/buildroot/share/fonts/getline.h @@ -0,0 +1,12 @@ +#ifndef MYGETLINE_H +#define MYGETLINE_H + +//#include "config.h" + +#if !HAVE_GETLINE + #include + ssize_t getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp); + #define getline(lineptr, n, stream) getdelim (lineptr, n, '\n', stream) +#endif + +#endif // MYGETLINE_H -- cgit v1.2.3