From e892c51b9c2e7c80715e1e7f633898b254ced611 Mon Sep 17 00:00:00 2001 From: David Adam Date: Mon, 28 Aug 2017 01:40:53 +0800 Subject: [PATCH] builtin_read: pickup MB_CUR_MAX from stdlib not xlocale Fixes building on OpenBSD; work on #4184. (cherry picked from commit 874a675e7f916e7145681d4df01431758a3de450) --- src/builtin_read.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtin_read.cpp b/src/builtin_read.cpp index 895184d4c..6ba4c8a5a 100644 --- a/src/builtin_read.cpp +++ b/src/builtin_read.cpp @@ -4,10 +4,10 @@ #include #include #include +#include #include #include #include -#include #include #include