Skip to content

Commit 004d31c

Browse files
Only Linux gets SOL_TLS I guess (this is wrong, BSDs have it too)
1 parent aac9141 commit 004d31c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sys/socket/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -855,6 +855,7 @@ pub struct Timestamps {
855855
#[cfg(all(target_os = "linux"))]
856856
const TLS_GET_RECORD_TYPE: c_int = 2;
857857

858+
#[cfg(all(target_os = "linux"))]
858859
const SOL_TLS: c_int = 282;
859860

860861
impl ControlMessageOwned {

0 commit comments

Comments
 (0)