HomeFreeBSD

Add <limits.h> header

Description

Add <limits.h> header

According to the UNIX standard, <pthread.h> does not include some
PTHREAD_* values which are included in <limits.h>. OpenZFS uses
some of these values in its code, and this might cause build failure on
systems that do not have these PTHREAD_* values in <pthread.h>

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Damian Szuberski <szuberskidamian@gmail.com>
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>
Closes #14225

Details

Provenance
minsoochoo0122_proton.meAuthored on Nov 28 2022, 9:24 PM
GitHub <noreply@github.com>Committed on Nov 28 2022, 9:24 PM
Parents
rG077fd55e8550: zfs.4: Correct the default for zfs_vdev_async_write_max_active
Branches
Unknown
Tags
Unknown