Skip to content

Commit 964cebf

Browse files
Only Linux gets SOL_TLS I guess (this is wrong, BSDs have it too)
1 parent dc2ca42 commit 964cebf

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
@@ -882,6 +882,7 @@ pub struct Timestamps {
882882
#[cfg(all(target_os = "linux"))]
883883
const TLS_GET_RECORD_TYPE: c_int = 2;
884884

885+
#[cfg(all(target_os = "linux"))]
885886
const SOL_TLS: c_int = 282;
886887

887888
impl ControlMessageOwned {

0 commit comments

Comments
 (0)