summarylogtreecommitdiffstats
path: root/0003-Remove-strchr.patch
diff options
context:
space:
mode:
Diffstat (limited to '0003-Remove-strchr.patch')
-rw-r--r--0003-Remove-strchr.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/0003-Remove-strchr.patch b/0003-Remove-strchr.patch
new file mode 100644
index 000000000000..f9dd5b831aec
--- /dev/null
+++ b/0003-Remove-strchr.patch
@@ -0,0 +1,12 @@
+--- a/extra/readline/histlib.h
++++ b/extra/readline/histlib.h
+@@ -51,9 +51,6 @@
+ #endif
+
+ #ifndef member
+-# ifndef strchr
+-extern char *strchr ();
+-# endif
+ #define member(c, s) ((c) ? ((char *)strchr ((s), (c)) != (char *)NULL) : 0)
+ #endif
+