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:59:26 +0000 (15:59 -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 517b6a913d23dc05a209aa2dbd078e659c9510a0..2e90d4dfee36106723708a6c0def5c4d5567f998 100644 (file)
 #include <stdint.h>
 #include <string.h>
 #include <sched.h>
+#include <unistd.h>
 
 #include "config.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.026256 seconds and 4 git commands to generate.