X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=src%2Frculfhash-internal.h;h=d29a9232c03e6c42c844d8bfaaf3f63e588c5473;hp=d7cec95a10e286f4693c91925e61441146196ebe;hb=2388c075d46055bd33ee824c399d72c219b98d90;hpb=6893800a4d1cc14dff0395ddcd660a5138db183d diff --git a/src/rculfhash-internal.h b/src/rculfhash-internal.h index d7cec95..d29a923 100644 --- a/src/rculfhash-internal.h +++ b/src/rculfhash-internal.h @@ -26,6 +26,8 @@ #include #include +#include +#include #ifdef DEBUG #define dbg_printf(fmt, args...) printf("[debug rculfhash] " fmt, ## args) @@ -82,7 +84,7 @@ struct cds_lfht { */ pthread_mutex_t resize_mutex; /* resize mutex: add/del mutex */ pthread_attr_t *resize_attr; /* Resize threads attributes */ - unsigned int in_progress_resize, in_progress_destroy; + unsigned int in_progress_destroy; unsigned long resize_target; int resize_initiated;