mirror of
https://repo.or.cz/socat.git
synced 2025-07-14 23:33:23 +00:00
Failed to compile on OmniOS due to TCP_INFO
This commit is contained in:
parent
47674f924a
commit
33a5019b18
3 changed files with 9 additions and 2 deletions
4
filan.c
4
filan.c
|
@ -897,12 +897,14 @@ int tcpan(int fd, FILE *outfile) {
|
|||
++optname;
|
||||
}
|
||||
|
||||
#ifdef TCP_INFO
|
||||
tcpan2(fd, outfile);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
#endif /* WITH_TCP */
|
||||
|
||||
#if WITH_TCP
|
||||
#if WITH_TCP && defined(TCP_INFO)
|
||||
|
||||
int tcpan2(int fd, FILE *outfile) {
|
||||
struct tcp_info tcpinfo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue