stricter S_ISREG check

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-18 01:52:43 +00:00
parent 6262826627
commit 9c450d8528

View File

@@ -161,6 +161,10 @@ main(int argc, char *argv[])
unsigned long *i;
#ifndef S_ISREG
err(ECANCELED, "Can't determine file types (S_ISREG undefined)");
#endif
#ifndef CHAR_BIT
err(ECANCELED, "Unknown char size");
#else