Fix missing include in json_ui.cc

This commit is contained in:
Maxime Coste 2016-04-21 00:06:43 +01:00
parent 3f74dd2924
commit e4b9e30b31

View File

@ -9,6 +9,8 @@
#include <utility> #include <utility>
#include <unistd.h>
namespace Kakoune namespace Kakoune
{ {
@ -405,7 +407,7 @@ void JsonUI::parse_requests(EventMode mode)
char buf[bufsize]; char buf[bufsize];
while (stdin_ready()) while (stdin_ready())
{ {
ssize_t size = read(0, buf, bufsize); ssize_t size = ::read(0, buf, bufsize);
if (size == -1 or size == 0) if (size == -1 or size == 0)
break; break;