From c02cf9404dc9dba2a6bc60c4db65c0287168a338 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 9 Mar 2024 18:12:36 +0100 Subject: helper/list: include the correct header file The file 'list.h', copied from FreeBSD, does not depend from any OpenOCD specific include file, but only needs 'stddef.h' for the type 'size_t'. Let 'list.h' to include the correct header file, then fix the now broken dependencies in the other files that were incorrectly relying on 'list.h' to include 'helper/types.h' Change-Id: Idd31b5bf607e226cac44ef41b2aa335ae4dbf519 Signed-off-by: Antonio Borneo Reviewed-on: https://review.openocd.org/c/openocd/+/8173 Tested-by: jenkins --- src/target/target.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/target/target.h') diff --git a/src/target/target.h b/src/target/target.h index 1713448..d5c0e0e 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -23,6 +23,7 @@ #include #include "helper/replacements.h" #include "helper/system.h" +#include #include struct reg; -- cgit v1.1