Skip to content

Commit 6fac218

Browse files
authored
Fix Windows build?
1 parent 00ef0bf commit 6fac218

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tokio-postgres/src/socket.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ use tokio::net::UnixStream;
1010
#[derive(Debug)]
1111
enum Inner {
1212
Tcp(TcpStream),
13+
#[cfg(unix)]
1314
Unix(UnixStream),
1415
}
1516

0 commit comments

Comments
 (0)