aboutsummaryrefslogtreecommitdiff
path: root/buildroot/share/fonts/getline.h
diff options
context:
space:
mode:
authorGeorgiy Bondarenko <69736697+nehilo@users.noreply.github.com>2021-03-04 20:54:23 +0300
committerGeorgiy Bondarenko <69736697+nehilo@users.noreply.github.com>2021-03-04 20:54:23 +0300
commite8701195e66f2d27ffe17fb514eae8173795aaf7 (patch)
tree9f519c4abf6556b9ae7190a6210d87ead1dfadde /buildroot/share/fonts/getline.h
downloadkp3s-lgvl-e8701195e66f2d27ffe17fb514eae8173795aaf7.tar.xz
kp3s-lgvl-e8701195e66f2d27ffe17fb514eae8173795aaf7.zip
Initial commit
Diffstat (limited to 'buildroot/share/fonts/getline.h')
-rw-r--r--buildroot/share/fonts/getline.h12
1 files changed, 12 insertions, 0 deletions
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 <stdio.h>
+ 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