aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorroot <asavah@avh.od.ua>2018-06-07 23:33:28 +0300
committerroot <asavah@avh.od.ua>2018-06-07 23:33:28 +0300
commitc1919de91858e40df213106bc4b30b9fbed1fbba (patch)
treeca531a02f803493c772574f7cb997be5f1196dfb /lib
parent87ca87c369d58d59fedec7bcb7c3e4f645bbabef (diff)
[c-pluff] kill another implicit function declaration warning
Diffstat (limited to 'lib')
-rw-r--r--lib/cpluff/console/cmdinput_readline.c1
-rw-r--r--lib/cpluff/patches/0013-Kill-implicit-function-declaration-warning-2.patch12
2 files changed, 13 insertions, 0 deletions
diff --git a/lib/cpluff/console/cmdinput_readline.c b/lib/cpluff/console/cmdinput_readline.c
index e383c8faba..b8d78af005 100644
--- a/lib/cpluff/console/cmdinput_readline.c
+++ b/lib/cpluff/console/cmdinput_readline.c
@@ -26,6 +26,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
+#include <string.h>
#include <readline/readline.h>
#include <readline/history.h>
#include "console.h"
diff --git a/lib/cpluff/patches/0013-Kill-implicit-function-declaration-warning-2.patch b/lib/cpluff/patches/0013-Kill-implicit-function-declaration-warning-2.patch
new file mode 100644
index 0000000000..1e3ae2ea73
--- /dev/null
+++ b/lib/cpluff/patches/0013-Kill-implicit-function-declaration-warning-2.patch
@@ -0,0 +1,12 @@
+diff --git a/lib/cpluff/console/cmdinput_readline.c b/lib/cpluff/console/cmdinput_readline.c
+index e383c8faba..b8d78af005 100644
+--- a/lib/cpluff/console/cmdinput_readline.c
++++ b/lib/cpluff/console/cmdinput_readline.c
+@@ -26,6 +26,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <ctype.h>
++#include <string.h>
+ #include <readline/readline.h>
+ #include <readline/history.h>
+ #include "console.h"