From d59ffc63124d300b9487a8f8582f0bb9f3ec4cb5 Mon Sep 17 00:00:00 2001 From: Antonio Rojas Date: Sat, 15 Oct 2016 13:18:20 +0200 Subject: [PATCH] Fix build with DMD DMD doesn't provide core.sys.linux.stdio, use core.sys.posix.stdio which is provided by all 3 compilers. --- src/asgen/utils.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asgen/utils.d b/src/asgen/utils.d index 3e26f308..eeab4791 100644 --- a/src/asgen/utils.d +++ b/src/asgen/utils.d @@ -402,7 +402,7 @@ body string[] getFileContents (const string path, const uint retryCount = 5) @trusted { import core.stdc.stdlib : free; - import core.sys.linux.stdio : fclose, open_memstream; + import core.sys.posix.stdio : fclose, open_memstream; char * ptr = null; scope (exit) free (ptr);