Page MenuHomeFreeBSD

tools/build: Hide spurious errors if sys/stat.h does not exist
ClosedPublic

Authored by emaste on Feb 24 2023, 2:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 24, 7:26 PM
Unknown Object (File)
Mon, Apr 21, 8:09 AM
Unknown Object (File)
Sat, Apr 19, 6:15 PM
Unknown Object (File)
Sat, Apr 19, 3:15 PM
Unknown Object (File)
Sat, Apr 19, 2:36 PM
Unknown Object (File)
Sat, Apr 19, 11:03 AM
Unknown Object (File)
Mon, Apr 14, 6:16 PM
Unknown Object (File)
Apr 2 2025, 5:30 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.

Seems fine, though given we're willing to pay the cost of an exec, wrapping the thing in .if exists(${HOST_INCLUDE_ROOT}/sys/stat.h) might be tidier.

This revision is now accepted and ready to land.Feb 24 2023, 7:27 PM

use .if exists as suggested by @brooks

This revision now requires review to proceed.Feb 24 2023, 8:48 PM
This revision is now accepted and ready to land.Feb 24 2023, 10:48 PM