HomeFreeBSD

jevents: fix bootstrapping on Linux with Clang 16

Description

jevents: fix bootstrapping on Linux with Clang 16

The glibc fts_open() callback type does not have the second const
qualifier and it appears that Clang 16 errors by default for mismatched
function pointer types. Add an ifdef to handle this case.

Reviewed By: imp, emaste
Differential Revision: https://reviews.freebsd.org/D43000

(cherry picked from commit 60e845ceef25533bfb60450549bea56a17b1e467)

Details

Provenance
arichardsonAuthored on Dec 12 2023, 5:10 AM
jrtc27Committed on Thu, May 2, 8:10 PM
Reviewer
imp
Differential Revision
D43000: jevents: fix bootstrapping on Linux with Clang 16
Parents
rG9bfc9ea2e18e: mandoc: fix bootstrapping on Linux with Clang 16
Branches
Unknown
Tags
Unknown