X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu.c;h=20bbf36727663b514405f6d49a3b97f422a20979;hp=be6d4bdfc55b32d624011280c972d6f2772f2853;hb=71c811bf8db75c9502b295edb1e190f978682b65;hpb=79dba87985c7dda26ae56e4c30451acea6b00bdd diff --git a/urcu.c b/urcu.c index be6d4bd..20bbf36 100644 --- a/urcu.c +++ b/urcu.c @@ -25,6 +25,7 @@ #define _BSD_SOURCE #define _GNU_SOURCE +#define _LGPL_SOURCE #include #include #include @@ -35,11 +36,14 @@ #include #include +#include "urcu/wfqueue.h" #include "urcu/map/urcu.h" - #include "urcu/static/urcu.h" + /* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */ +#undef _LGPL_SOURCE #include "urcu.h" +#define _LGPL_SOURCE /* * If a reader is really non-cooperative and refuses to commit its