Skip to content

Commit fb34c32

Browse files
committed
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 7b14f8d commit fb34c32

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
@@ -2445,7 +2445,8 @@ fn test_freebsd(target: &str) {
24452445
"sys/shm.h",
24462446
"sys/socket.h",
24472447
"sys/socketvar.h",
2448-
"netinet/in_pcb.h", // must be after sys/socketvar.h
2448+
[freebsd15]:"sys/ktls.h",
2449+
"netinet/in_pcb.h", // must be after sys/socketvar.h, sys/ktls.h
24492450
"sys/stat.h",
24502451
"sys/statvfs.h",
24512452
"sys/sysctl.h",

0 commit comments

Comments
 (0)