Fix missing include in json_ui.cc
This commit is contained in:
parent
3f74dd2924
commit
e4b9e30b31
|
@ -9,6 +9,8 @@
|
|||
|
||||
#include <utility>
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user