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 <cfriedt@tenstorrent.com>
This commit is contained in:
Chris Friedt 2025-01-02 12:29:01 -05:00 committed by Benjamin Cabé
parent 60ef84a48e
commit 6b103837a5

View file

@ -16,6 +16,7 @@
#include <zephyr/fs/fs.h>
#include <zephyr/posix/posix_features.h>
#include <zephyr/posix/dirent.h>
#include <zephyr/sys/util.h>
int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result)
{