X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-bp.c;h=80eaefe7ea78a35cd20d138bcb9ac6ebd08c31b4;hp=7412b5b6add6b0edfb4e7ca53966487fe9fb3664;hb=71c811bf8db75c9502b295edb1e190f978682b65;hpb=79dba87985c7dda26ae56e4c30451acea6b00bdd diff --git a/urcu-bp.c b/urcu-bp.c index 7412b5b..80eaefe 100644 --- a/urcu-bp.c +++ b/urcu-bp.c @@ -24,6 +24,7 @@ */ #define _GNU_SOURCE +#define _LGPL_SOURCE #include #include #include @@ -35,11 +36,14 @@ #include #include +#include "urcu/wfqueue.h" #include "urcu/map/urcu-bp.h" - #include "urcu/static/urcu-bp.h" + /* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */ +#undef _LGPL_SOURCE #include "urcu-bp.h" +#define _LGPL_SOURCE #ifndef MAP_ANONYMOUS #define MAP_ANONYMOUS MAP_ANON