Skip to content

Commit 4147a8b

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
1 parent 56a04ab commit 4147a8b

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
@@ -2392,7 +2392,8 @@ fn test_freebsd(target: &str) {
23922392
"sys/shm.h",
23932393
"sys/socket.h",
23942394
"sys/socketvar.h",
2395-
"netinet/in_pcb.h", // must be after sys/socketvar.h
2395+
[freebsd15]:"sys/ktls.h",
2396+
"netinet/in_pcb.h", // must be after sys/socketvar.h, sys/ktls.h
23962397
"sys/stat.h",
23972398
"sys/statvfs.h",
23982399
"sys/sysctl.h",

0 commit comments

Comments
 (0)