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:	757e973fb2 ("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
This commit is contained in:
Lexi Winter 2025-05-06 15:48:17 +01:00
parent 26aec3f3b4
commit bbffdfef3b

View file

@ -21,15 +21,17 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stddef.h>
#include <net/ethernet.h>
#include <net/if_dl.h>
#include <vector>
#include <span>
#include <format>
#include <utility>
#include <ranges>
#include <span>
#include <utility>
#include <vector>
#include <cstddef>
#include <cstdint>
#include <atf-c++.hpp>