HomeFreeBSD

readmmap.c: fix building with MUSL libc

Description

readmmap.c: fix building with MUSL libc

glibc includes sys/types.h from stdlib.h. This is not the case for MUSL,
so explicitly include it. Fixes usage of uint_t.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Zach Dykstra <dykstra.zachary@gmail.com>
Closes #15130

Details

Provenance
Zach Dykstra <dykstra.zachary@gmail.com>Authored on Aug 1 2023, 4:01 PM
GitHub <noreply@github.com>Committed on Aug 1 2023, 4:01 PM
Parents
rG114a39964f5c: zdb: include cloned blocks in block statistics
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGfcd61d937f21: readmmap.c: fix building with MUSL libc (authored by Zach Dykstra <dykstra.zachary@gmail.com>).Aug 1 2023, 4:01 PM