From a5ff9ff765d3e14d01099fade6b94624bb8de22b Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sat, 28 Sep 2024 23:23:49 -0600 Subject: it compiles! --- libcr_ipc/mutex.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libcr_ipc/mutex.c') diff --git a/libcr_ipc/mutex.c b/libcr_ipc/mutex.c index c5cea96..198c738 100644 --- a/libcr_ipc/mutex.c +++ b/libcr_ipc/mutex.c @@ -4,6 +4,8 @@ * SPDX-Licence-Identifier: AGPL-3.0-or-later */ +#include + #include void cr_mutex_lock(cr_mutex_t *mu) { @@ -14,7 +16,7 @@ void cr_mutex_lock(cr_mutex_t *mu) { mu->locked = true; return; } - struct _cr_mutex_cid_list self = { + struct _cr_ipc_cid_list self = { .val = cr_getcid(), .next = NULL, }; -- cgit v1.2.3-2-g168b