diff --git a/source/vibedav/base.d b/source/vibedav/base.d index 8fe5f8a..1479c19 100644 --- a/source/vibedav/base.d +++ b/source/vibedav/base.d @@ -24,6 +24,7 @@ import std.file; import std.path; import std.digest.md; import std.datetime; +import std.array; import std.string; import std.stdio; import std.typecons; diff --git a/source/vibedav/filedav.d b/source/vibedav/filedav.d index 14c359c..26e74d8 100644 --- a/source/vibedav/filedav.d +++ b/source/vibedav/filedav.d @@ -31,7 +31,10 @@ import std.stdio; import std.typecons; import std.uri; import std.uuid; -import std.algorithm.comparison : max; +static if (__traits(compiles, { import std.algorithm.comparison : max; })) + import std.algorithm.comparison : max; +else + import std.algorithm; import tested: testName = name;