X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=urcu-defer-static.h;h=8575195a50b4d6530f4c56e7975d49567d4decca;hb=a44291d81fd9347fc495cd62ffe3daf3fa783269;hp=0493872daa243253fbde06497045f55399baaefe;hpb=dbc6128f26035b2903e3278c6c41990c90831511;p=urcu.git diff --git a/urcu-defer-static.h b/urcu-defer-static.h index 0493872..8575195 100644 --- a/urcu-defer-static.h +++ b/urcu-defer-static.h @@ -34,8 +34,12 @@ #include #include +#include #include +#ifdef __cplusplus +extern "C" { +#endif /* * Number of entries in the per-thread defer queue. Must be power of 2. @@ -126,4 +130,8 @@ struct defer_queue { struct list_head list; /* list of thread queues */ }; +#ifdef __cplusplus +} +#endif + #endif /* _URCU_DEFER_STATIC_H */