From c05e1f3ee124d89cc305ce430bc825f784fc9939 Mon Sep 17 00:00:00 2001 From: Vadim Lopatin Date: Mon, 6 Jun 2016 09:44:46 +0300 Subject: [PATCH] fix build error with close() --- src/dlangide/ui/terminal.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dlangide/ui/terminal.d b/src/dlangide/ui/terminal.d index 1297d5d..305bad6 100644 --- a/src/dlangide/ui/terminal.d +++ b/src/dlangide/ui/terminal.d @@ -948,7 +948,7 @@ class TerminalDevice : Thread { import core.sys.posix.fcntl; import core.sys.posix.stdio; import core.sys.posix.stdlib; - import core.sys.posix.unistd; + //import core.sys.posix.unistd; masterfd = posix_openpt(O_RDWR | O_NOCTTY); if (masterfd == -1) { Log.e("posix_openpt failed - cannot open terminal");