Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools/build/cross-build: Don't include sys/uio.h from linux limits.h
This creates a circular dependency for OpenZFS's libspl in sys/uio.h, and it shouldn't be needed since the system limits.h already defines IOV_MAX, so delete it, and unconditionally assert that to be the case. Otherwise the re-include of libspl's sys/uio.h tries to use PAGESIZE before it has been defined by OpenZFS's own sys/param.h. Fixes: 7a7741a ("zfs: merge openzfs/zfs@b10992582") MFC after: 1 week (cherry picked from commit 0bdf253)
- Loading branch information