git: 6a65632e1a6a - main - libthr: Add missing include header

From: ShengYi Hung <aokblast_at_FreeBSD.org>
Date: Thu, 29 Oct 2026 19:17:05 UTC
The branch main has been updated by aokblast:

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

commit 6a65632e1a6aeb4277769ae7cc38c076fb1a5146
Author:     ShengYi Hung <aokblast@FreeBSD.org>
AuthorDate: 2026-10-29 19:14:50 +0000
Commit:     ShengYi Hung <aokblast@FreeBSD.org>
CommitDate: 2026-10-29 19:17:00 +0000

    libthr: Add missing include header
    
    Fixes:          56a490f9c5e6 ("libthr: Robust tryjoin test")
    MFC after:      2 weeks
---
 lib/libthr/tests/pthread_tryjoin_test.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/libthr/tests/pthread_tryjoin_test.c b/lib/libthr/tests/pthread_tryjoin_test.c
index ca92f8e25228..0698ed54747d 100644
--- a/lib/libthr/tests/pthread_tryjoin_test.c
+++ b/lib/libthr/tests/pthread_tryjoin_test.c
@@ -7,6 +7,9 @@
  * under sponsorship from the FreeBSD Foundation.
  */
 
+#include <sys/types.h>
+#include <sys/sysctl.h>
+
 #include <atf-c.h>
 #include <err.h>
 #include <errno.h>