From 0adac7cafc6c49433136d7372eddd70dd30fd763 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 14 May 2025 10:14:17 -0400 Subject: [PATCH] libc/minimal: Add stub 'sys/lock.h' This file is explicitly included by the espressif hal module. It's an internal file provided by picolibc and newlib. Provide a stub to let code designed for those to work with the minimal C library. Signed-off-by: Keith Packard Signed-off-by: Anas Nashif --- lib/libc/minimal/include/sys/lock.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 lib/libc/minimal/include/sys/lock.h diff --git a/lib/libc/minimal/include/sys/lock.h b/lib/libc/minimal/include/sys/lock.h new file mode 100644 index 00000000000..9f25ee1635c --- /dev/null +++ b/lib/libc/minimal/include/sys/lock.h @@ -0,0 +1,7 @@ +/* + * Copyright The Zephyr Project Contributors + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/* empty file for newlib compatibility */