From 2f24a1b1c93b8c45dce391ed0439131f9ad8cf28 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 11 Oct 2025 06:50:54 -0700 Subject: fix includes for core --- src/core/list.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/core/list.c') diff --git a/src/core/list.c b/src/core/list.c index 65e86670..dd5406f7 100644 --- a/src/core/list.c +++ b/src/core/list.c @@ -8,16 +8,14 @@ // found online at https://opensource.org/licenses/MIT. // -#include -#include - -#include "core/nng_impl.h" +#include "list.h" +#include "defs.h" // Linked list implementation. We implement a doubly linked list. // Using pointer arithmetic, we can operate as a list of "anything". #define NODE(list, item) \ - (nni_list_node *) (void *)(((char *) item) + list->ll_offset) + (nni_list_node *) (void *) (((char *) item) + list->ll_offset) #define ITEM(list, node) (void *) (((char *) node) - list->ll_offset) void -- cgit v1.2.3-70-g09d2