From: Gavin Ray Date: Mon, 5 Dec 2022 02:07:17 +0000 (+0000) Subject: rculfhash: Include rculfhash-internal.h from local directory X-Git-Tag: v0.12.5~8 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=308c0e2f342b795203fd1b0f3346b85061a14d1f;p=userspace-rcu.git rculfhash: Include rculfhash-internal.h from local directory Use double quotes rather than angle brackets to include this local header file. This fixes build scenarios where the liburcu build is used from cmake. Signed-off-by: Mathieu Desnoyers Change-Id: Iad6c9765ecc409c8df3a659975c97a3c068d5c0a --- diff --git a/src/rculfhash-mm-chunk.c b/src/rculfhash-mm-chunk.c index a7a9b76..5cd6662 100644 --- a/src/rculfhash-mm-chunk.c +++ b/src/rculfhash-mm-chunk.c @@ -21,7 +21,9 @@ */ #include -#include +#include + +#include "rculfhash-internal.h" static void cds_lfht_alloc_bucket_table(struct cds_lfht *ht, unsigned long order) diff --git a/src/rculfhash-mm-order.c b/src/rculfhash-mm-order.c index 20f3edd..3d3e31f 100644 --- a/src/rculfhash-mm-order.c +++ b/src/rculfhash-mm-order.c @@ -21,7 +21,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include +#include + +#include "rculfhash-internal.h" static void cds_lfht_alloc_bucket_table(struct cds_lfht *ht, unsigned long order) diff --git a/src/rculfhash.c b/src/rculfhash.c index 95b13a2..5b62e05 100644 --- a/src/rculfhash.c +++ b/src/rculfhash.c @@ -274,10 +274,10 @@ #include #include #include -#include #include #include #include +#include "rculfhash-internal.h" #include "workqueue.h" #include "urcu-die.h" #include "urcu-utils.h"