Fix: rculfhash only needs to include urcu-pointers.h
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 28 Oct 2015 19:57:22 +0000 (15:57 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 28 Oct 2015 19:57:22 +0000 (15:57 -0400)
rculfhash is not meant to use a specific urcu flavor, but rather receive
the flavor to use as parameter to _cds_lfht_new().

All we need is the API of urcu-pointers.h, so include that instead.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
rculfhash.c

index 6a41b92fa5fb11e3630e56f47ef161c0e4e6ca0f..3e7873171733a100d83ea1433c54080cf1b1e791 100644 (file)
 #include <stdint.h>
 #include <string.h>
 #include <sched.h>
+#include <unistd.h>
 
 #include "config.h"
 #include "compat-getcpu.h"
-#include <urcu.h>
+#include <urcu-pointer.h>
 #include <urcu-call-rcu.h>
 #include <urcu-flavor.h>
 #include <urcu/arch.h>
This page took 0.034099 seconds and 4 git commands to generate.