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.13.3~8 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d401260055a05d5033b8c64ed2b8b9c220c08d77;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 a7988a6..9209d5f 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"