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