HomeFreeBSD

link_addr_test: use <cstddef>, not <sys/stddef.h>

Description

link_addr_test: use <cstddef>, not <sys/stddef.h>

<cstddef> is the correct header; this fixes the GCC build.

while here, sort the headers.

Fixes: 757e973fb211 ("libc tests: add tests for link_addr(3) and link_ntoa(3)")
Reviewed by: des
Approved by: des (mentor)
Differential Revision: https://reviews.freebsd.org/D50189

Details

Provenance
ivyAuthored on May 6 2025, 2:48 PM
Reviewer
des
Differential Revision
D50189: link_addr_test: use <cstddef>, not <sys/stddef.h>
Parents
rG26aec3f3b4fc: getenv_r tests: Fix getenv_r_erange
Branches
Unknown
Tags
Unknown