xref: /OK3568_Linux_fs/buildroot/package/bash/0004-readline-Fix-compile-error-on-uclibc.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From 63371f97949b02b2589b1006a2b2102ee48d4dde Mon Sep 17 00:00:00 2001
2From: Jeffy Chen <jeffy.chen@rock-chips.com>
3Date: Wed, 24 Aug 2022 09:51:24 +0800
4Subject: [PATCH] readline: Fix compile error on uclibc
5
6Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
7---
8 lib/readline/text.c | 1 +
9 1 file changed, 1 insertion(+)
10
11diff --git a/lib/readline/text.c b/lib/readline/text.c
12index 2567dea..9f2c55e 100644
13--- a/lib/readline/text.c
14+++ b/lib/readline/text.c
15@@ -40,6 +40,7 @@
16 #endif
17
18 #include <stdio.h>
19+#include <stddef.h>
20
21 /* System-specific feature definitions and include files. */
22 #include "rldefs.h"
23--
242.20.1
25
26