X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-qsbr.c;h=5e4348449ca9183b61bf1cbc6a041a549f784c2b;hp=8d8a9cf05ced0fd18ef9943110dc22a2e6e05e87;hb=71c811bf8db75c9502b295edb1e190f978682b65;hpb=79dba87985c7dda26ae56e4c30451acea6b00bdd diff --git a/urcu-qsbr.c b/urcu-qsbr.c index 8d8a9cf..5e43484 100644 --- a/urcu-qsbr.c +++ b/urcu-qsbr.c @@ -24,6 +24,7 @@ */ #define _GNU_SOURCE +#define _LGPL_SOURCE #include #include #include @@ -34,12 +35,15 @@ #include #include +#include "urcu/wfqueue.h" #include "urcu/map/urcu-qsbr.h" - #define BUILD_QSBR_LIB #include "urcu/static/urcu-qsbr.h" + /* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */ +#undef _LGPL_SOURCE #include "urcu-qsbr.h" +#define _LGPL_SOURCE void __attribute__((destructor)) rcu_exit(void);