From d6f68560e2b632b595daea0fb4dd6ca03e45c54a Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Mon, 29 Jun 2009 08:53:51 +0000 Subject: [PATCH] #include if we have it (should fix build problems) --- System/CPUTime.hsc | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 1.7.10.4