mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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:
parent
26aec3f3b4
commit
bbffdfef3b
1 changed files with 6 additions and 4 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue