From: Simon Marlow Date: Mon, 29 Jun 2009 08:53:51 +0000 (+0000) Subject: #include if we have it (should fix build problems) X-Git-Tag: ghc-darcs-git-switchover~379 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=d6f68560e2b632b595daea0fb4dd6ca03e45c54a;p=ghc-base.git #include if we have it (should fix build problems) --- diff --git a/System/CPUTime.hsc b/System/CPUTime.hsc index 9dc62db..cb23d93 100644 --- a/System/CPUTime.hsc +++ b/System/CPUTime.hsc @@ -58,6 +58,11 @@ import Foreign.C #include #endif +-- for struct tms +#if HAVE_SYS_TIMES_H +#include +#endif + #endif #if !defined(mingw32_HOST_OS) && !defined(cygwin32_HOST_OS)