From e4b9e30b31ee47ae0e73adf63554d9085a4d6081 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 21 Apr 2016 00:06:43 +0100 Subject: [PATCH] Fix missing include in json_ui.cc --- src/json_ui.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/json_ui.cc b/src/json_ui.cc index 05f0d38b..9b562026 100644 --- a/src/json_ui.cc +++ b/src/json_ui.cc @@ -9,6 +9,8 @@ #include +#include + namespace Kakoune { @@ -405,7 +407,7 @@ void JsonUI::parse_requests(EventMode mode) char buf[bufsize]; while (stdin_ready()) { - ssize_t size = read(0, buf, bufsize); + ssize_t size = ::read(0, buf, bufsize); if (size == -1 or size == 0) break;