Skip to content

Commit a364c2f

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 <[email protected]>
1 parent 19888c8 commit a364c2f

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)