diff options
author | Will Cohen <wwcohen@gmail.com> | 2022-03-31 14:26:51 -0400 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2022-04-01 13:06:07 +0200 |
commit | a136d17590a03ad4cf4fabeffe49d246b9130103 (patch) | |
tree | 463094933f09b11aee5abea2ac790b49c40f3151 /target | |
parent | 54c9b19421895eddac19444c1de705ef0ddbfe95 (diff) |
9p: move P9_XATTR_SIZE_MAX from 9p.h to 9p.c
The patch set adding 9p functionality to darwin introduced an issue
where limits.h, which defines XATTR_SIZE_MAX, is included in 9p.c,
though the referenced constant is needed in 9p.h. This commit fixes that
issue by moving the definition of P9_XATTR_SIZE_MAX, which uses
XATTR_SIZE_MAX, to also be in 9p.c.
Additionally, this commit moves the location of the system headers
include in 9p.c to occur before the project headers (except osdep.h).
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/950
Fixes: 38d7fd68b0 ("9p: darwin: Move XATTR_SIZE_MAX->P9_XATTR_SIZE_MAX")
Signed-off-by: Will Cohen <wwcohen@gmail.com>
Message-Id: <20220331182651.887-1-wwcohen@gmail.com>
[thuth: Adjusted placement of osdep.h]
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions