From 33bb77a242aa0498d4e5eba91e2fcd777db6e241 Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Wed, 22 May 2024 18:03:33 -0400 Subject: Fix workqueue.c --- workqueue.c | 1 + 1 file changed, 1 insertion(+) (limited to 'workqueue.c') diff --git a/workqueue.c b/workqueue.c index f66095bf..cfd895e7 100644 --- a/workqueue.c +++ b/workqueue.c @@ -28,6 +28,7 @@ WorkQueue* workQueueNew() { return q; } +#include WorkQueueItem workQueueTake(WorkQueue* q) { size_t b = atomic_load_explicit(&q->bottom, memory_order_relaxed); WorkQueueArray* a = (WorkQueueArray*) atomic_load_explicit(&q->array, memory_order_relaxed); -- cgit v1.2.3