api.h: fix type warning
[urcu.git] / urcu-bp.c
index 5474f9f5ca19fb7aef5b51ed90fe3bc5c56d4867..543a9f3ae01775b18008e4e2140513116bd2e781 100644 (file)
--- a/urcu-bp.c
+++ b/urcu-bp.c
 #include <unistd.h>
 #include <sys/mman.h>
 
-#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
@@ -379,3 +383,4 @@ void rcu_bp_after_fork_child(void)
 }
 
 #include "urcu-call-rcu-impl.h"
+#include "urcu-defer-impl.h"
This page took 0.022816 seconds and 4 git commands to generate.