/Users/jonathan/builder/tempbuild/build/inplace/lib/template-hsc.h:35:10: note: expanded from macro 'hsc_const' if ((x) < 0) \ ^ ClockGetTime.hsc:24:16: error: use of undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' /Users/jonathan/builder/tempbuild/build/inplace/lib/template-hsc.h:36:41: note: expanded from macro 'hsc_const' hsc_printf ("%lld", (long long)(x)); \ ^ ClockGetTime.hsc:24:16: error: use of undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' /Users/jonathan/builder/tempbuild/build/inplace/lib/template-hsc.h:38:50: note: expanded from macro 'hsc_const' hsc_printf ("%llu", (unsigned long long)(x)); ^ ClockGetTime.hsc:29:16: error: use of undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' hsc_const (CLOCK_PROCESS_CPUTIME_ID); ^ /Users/jonathan/builder/tempbuild/build/inplace/lib/template-hsc.h:35:10: note: expanded from macro 'hsc_const' if ((x) < 0) \ ^ ClockGetTime.hsc:29:16: error: use of undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' /Users/jonathan/builder/tempbuild/build/inplace/lib/template-hsc.h:36:41: note: expanded from macro 'hsc_const' hsc_printf ("%lld", (long long)(x)); \ ^ ClockGetTime.hsc:29:16: error: use of undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID' /Users/jonathan/builder/tempbuild/build/inplace/lib/template-hsc.h:38:50: note: expanded from macro 'hsc_const' hsc_printf ("%llu", (unsigned long long)(x)); ^ 6 errors generated. compiling libraries/base/dist-install/build/System/CPUTime/Posix/ClockGetTime_hsc_make.c failed (exit code 1) command was: /usr/bin/gcc -c libraries/base/dist-install/build/System/CPUTime/Posix/ClockGetTime_hsc_make.c -o libraries/base/dist-install/build/System/CPUTime/Posix/ClockGetTime_hsc_make.o -Wall -m64 -fno-stack-protector -m64 -Dx86_64_HOST_ARCH -Ddarwin_HOST_OS -D__GLASGOW_HASKELL__=801 -m64 -fno-stack-protector -Wall -Ilibraries/base/dist-install/build/autogen -Ilibraries/base/include -DOPTIMISE_INTEGER_GCD_LCM -I/Users/jonathan/builder/tempbuild/build/libraries/integer-gmp/include -I/Users/jonathan/builder/tempbuild/build/rts/dist/build -I/Users/jonathan/builder/tempbuild/build/includes -I/Users/jonathan/builder/tempbuild/build/includes/dist-derivedconstants/header -Wno-unknown-pragmas -Ilibraries/base/dist-install/build/autogen -include libraries/base/dist-install/build/autogen/cabal_macros.h -I/Users/jonathan/builder/tempbuild/build/inplace/lib/include/ make[1]: *** [libraries/base/dist-install/build/System/CPUTime/Posix/ClockGetTime.hs] Error 1 make: *** [all] Error 2