Skip to content

Commit d645e56

Browse files
keith-packardnashif
authored andcommitted
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 <keithp@keithp.com>
1 parent d6f266c commit d645e56

File tree

1 file changed

+1
-0
lines changed
  • lib/libc/minimal/include/sys

1 file changed

+1
-0
lines changed

lib/libc/minimal/include/sys/lock.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* empty file for newlib compatibility */

0 commit comments

Comments
 (0)