X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-bp.c;h=543a9f3ae01775b18008e4e2140513116bd2e781;hp=14b200129fe42656ae11e178aa0d3c6442f26061;hb=05b49d3dba7b64cca5591be6b74e21b23b5fceb7;hpb=0376e7b2f8d26778ebc4750b34e718c062c92764 diff --git a/urcu-bp.c b/urcu-bp.c index 14b2001..543a9f3 100644 --- a/urcu-bp.c +++ b/urcu-bp.c @@ -35,12 +35,16 @@ #include #include -#include "urcu-bp-map.h" +#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