git: bbffdfef3bf0 - main - link_addr_test: use <cstddef>, not <sys/stddef.h>

From: Lexi Winter <ivy_at_FreeBSD.org>
Date: Tue, 06 May 2025 14:50:12 UTC
The branch main has been updated by ivy:

URL: https://cgit.FreeBSD.org/src/commit/?id=bbffdfef3bf04b2f89027cb20e2019fdc74c4b1b

commit bbffdfef3bf04b2f89027cb20e2019fdc74c4b1b
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-05-06 14:48:17 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-05-06 14:49:11 +0000

    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
---
 lib/libc/tests/net/link_addr_test.cc | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/lib/libc/tests/net/link_addr_test.cc b/lib/libc/tests/net/link_addr_test.cc
index 009493e7e5aa..6b9f5a841ef7 100644
--- a/lib/libc/tests/net/link_addr_test.cc
+++ b/lib/libc/tests/net/link_addr_test.cc
@@ -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>