aboutsummaryrefslogtreecommitdiffstats
path: root/main/gross/fix-shadow-declaration.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gross/fix-shadow-declaration.patch')
-rw-r--r--main/gross/fix-shadow-declaration.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/gross/fix-shadow-declaration.patch b/main/gross/fix-shadow-declaration.patch
new file mode 100644
index 0000000000..9b70a61ca1
--- /dev/null
+++ b/main/gross/fix-shadow-declaration.patch
@@ -0,0 +1,13 @@
+--- gross-1.0.2.orig/include/utils.h
++++ gross-1.0.2/include/utils.h
+@@ -39,7 +39,9 @@
+ #endif /* ! USE_GETTIMEOFDAY */
+
+ int readline(int fd, void *vptr, size_t maxlen);
++#if 0
+ int getline(int fd, char *line, size_t maxlen);
++#endif
+ ssize_t readn(int fd, void *vptr, size_t n);
+ ssize_t writen(int fd, const void *vptr, size_t n);
+ ssize_t writeline(int fd, const char *line);
+