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)
Wed, Apr 2, 5:30 PM
Unknown Object (File)
Feb 10 2025, 1:20 PM
Unknown Object (File)
Feb 4 2025, 8:05 PM
Unknown Object (File)
Feb 4 2025, 6:56 PM
Unknown Object (File)
Feb 4 2025, 4:49 PM
Unknown Object (File)
Jan 31 2025, 10:17 PM
Unknown Object (File)
Jan 19 2025, 2:21 PM
Unknown Object (File)
Jan 17 2025, 2:22 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