Skip to content

Commit 2816bc2

Browse files
neuschaefertgross35
authored andcommitted
libc-test: include sys/ktls.h on freebsd
<sys/ktls.h> is necessary in order to find the xktls_* structs. See also: freebsd/freebsd-src@c9e9a0f (backport <#4552>) (cherry picked from commit 4147a8b)
1 parent adfe283 commit 2816bc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libc-test/build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2503,7 +2503,8 @@ fn test_freebsd(target: &str) {
25032503
"sys/shm.h",
25042504
"sys/socket.h",
25052505
"sys/socketvar.h",
2506-
"netinet/in_pcb.h", // must be after sys/socketvar.h
2506+
[freebsd15]:"sys/ktls.h",
2507+
"netinet/in_pcb.h", // must be after sys/socketvar.h, sys/ktls.h
25072508
"sys/stat.h",
25082509
"sys/statvfs.h",
25092510
"sys/sysctl.h",

0 commit comments

Comments
 (0)