From e3a5bb25af96c45ce4eac2efbcd7e3c357f60e82 Mon Sep 17 00:00:00 2001 From: Joseph Noir Date: Tue, 14 Apr 2015 11:00:51 +0200 Subject: [PATCH] Add fix for clockid_t on OS X --- sys/posix/pthread/include/pthread_cond.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/posix/pthread/include/pthread_cond.h b/sys/posix/pthread/include/pthread_cond.h index a72233c26f..30c9d626af 100644 --- a/sys/posix/pthread/include/pthread_cond.h +++ b/sys/posix/pthread/include/pthread_cond.h @@ -24,6 +24,10 @@ # include "msp430_types.h" #endif +#if defined(__MACH__) +typedef int clockid_t; +#endif + #ifdef __cplusplus extern "C" { #endif