X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-bp.c;h=543a9f3ae01775b18008e4e2140513116bd2e781;hp=915debe2c5c2f89da1f1d096f9d5712a5283f28a;hb=05b49d3dba7b64cca5591be6b74e21b23b5fceb7;hpb=57760d447eaed07f8a9c6552b8cefc6223ac1158 diff --git a/urcu-bp.c b/urcu-bp.c index 915debe..543a9f3 100644 --- a/urcu-bp.c +++ b/urcu-bp.c @@ -37,10 +37,14 @@ #include "urcu/map/urcu-bp.h" -#include "urcu-bp-static.h" +#include "urcu/static/urcu-bp.h" /* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */ #include "urcu-bp.h" +#ifndef MAP_ANONYMOUS +#define MAP_ANONYMOUS MAP_ANON +#endif + /* Sleep delay in us */ #define RCU_SLEEP_DELAY 1000 #define ARENA_INIT_ALLOC 16