Skip to content

Commit 6b10383

Browse files
cfriedtkartben
authored andcommitted
posix: options: file_system_r: include sys/util.h header for MIN
Oddly, even though CI passed when the file_system_r change was merged, now CI has encountered a build error because MIN() was not defined. Include `<zephyr/sys/util.h>` to pull in the definition. Signed-off-by: Chris Friedt <[email protected]>
1 parent 60ef84a commit 6b10383

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/posix/options/file_system_r.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include <zephyr/fs/fs.h>
1717
#include <zephyr/posix/posix_features.h>
1818
#include <zephyr/posix/dirent.h>
19+
#include <zephyr/sys/util.h>
1920

2021
int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result)
2122
{

0 commit comments

Comments
 (0)