From 7bd628529c1976de9ee97b4b521b0ea96103a6a2 Mon Sep 17 00:00:00 2001 From: Michal Vasko Date: Tue, 17 Dec 2024 08:09:46 +0100 Subject: [PATCH] linenoise BUGFIX feature macro for compat --- cli/linenoise/utf8.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/linenoise/utf8.c b/cli/linenoise/utf8.c index 938f18b6..dba1e4ba 100644 --- a/cli/linenoise/utf8.c +++ b/cli/linenoise/utf8.c @@ -41,6 +41,8 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#define _GNU_SOURCE /* required for compat.h before including any other headers */ + #include #include