diff options
Diffstat (limited to '')
-rw-r--r-- | lib/frr_pthread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/frr_pthread.h b/lib/frr_pthread.h index cc4fc7433..732e2925f 100644 --- a/lib/frr_pthread.h +++ b/lib/frr_pthread.h @@ -234,4 +234,8 @@ void frr_pthread_yield(void); */ uint32_t frr_pthread_get_id(void); +#ifndef HAVE_PTHREAD_CONDATTR_SETCLOCK +#define pthread_condattr_setclock(A, B) +#endif + #endif /* _FRR_PTHREAD_H */ |