X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=System%2FCPUTime.hsc;h=f050a681ae27fef390cdcb43e613ddcd4e68f099;hb=a0f41d471ceda7da65d775cfd9eaca3262ec8291;hp=5a7e6967c8f7cfd81bd6928251f988455f0ecfee;hpb=81b217b104feb963e00537a51e6b3dfee8163b86;p=ghc-base.git diff --git a/System/CPUTime.hsc b/System/CPUTime.hsc index 5a7e696..f050a68 100644 --- a/System/CPUTime.hsc +++ b/System/CPUTime.hsc @@ -33,7 +33,9 @@ import CPUTime ( getCPUTime, cpuTimePrecision ) #ifdef __GLASGOW_HASKELL__ import Foreign hiding (unsafePerformIO) import Foreign.C +#if !defined(CLK_TCK) import System.IO.Unsafe (unsafePerformIO) +#endif #include "HsBaseConfig.h"