Remove deprecated stdc import

This commit is contained in:
Sebastian Wilzbach 2017-07-03 00:43:36 +02:00
parent 87c63705dc
commit e1b90d2058

2
rdmd.d
View file

@ -561,7 +561,7 @@ private int run(string[] args, string output = null, bool replace = false)
{ /* Windows doesn't have exec, fall back to spawnProcess+wait */ }
else
{
import std.c.process;
import std.process : execv;
auto argv = args.map!toStringz.chain(null.only).array;
return execv(argv[0], argv.ptr);
}