This include is not needed, and because of it rculfhash needs to be
included after the RCU flavor is chosen.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
extern "C" {
#endif
+struct rcu_head;
+
struct urcu_atfork {
void (*before_fork)(void *priv);
void (*after_fork_parent)(void *priv);
*/
#include <stdint.h>
+#include <pthread.h>
#include <urcu/compiler.h>
-#include <urcu-call-rcu.h>
#include <urcu-flavor.h>
#ifdef __cplusplus
#include <urcu/rculfhash.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <assert.h>
#ifdef DEBUG
#define dbg_printf(fmt, args...) printf("[debug rculfhash] " fmt, ## args)