Make compatible again for GHC back to 7.4.1
authorHerbert Valerio Riedel <hvr@gnu.org>
Sat, 12 Oct 2013 11:24:45 +0000 (13:24 +0200)
committerHerbert Valerio Riedel <hvr@gnu.org>
Sat, 12 Oct 2013 11:24:45 +0000 (13:24 +0200)
commit2b69c54bbbc85993cb2456ecb60a40adb574ccda
tree8dc41de1c014ca448220897de43366f31e79fc73
parent84ca1d2b4477076bc4441b7ba5a554162a272162
Make compatible again for GHC back to 7.4.1

By avoiding `import Foreign` this accomplishes backward-compatibility
w.r.t. the `unsafePerformIO` relocation w/o resorting to CPP
conditionals.

Moreover, in order to support base<4.7 this commits needs to reintroduce
a harmless backport of `newFilePath`.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
System/Posix/Env.hsc
System/Posix/Files/Common.hsc
System/Posix/Process/Common.hsc
System/Posix/Signals.hsc