mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 23:42:34 +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
5
CHANGES
5
CHANGES
|
@ -1,4 +1,9 @@
|
|||
|
||||
Corrections:
|
||||
Socat 1.7.4.2 did not compile on OmniOS (and probably other OpenSolaris
|
||||
distributions)
|
||||
Thanks to Andy Fiddaman for sending a patch
|
||||
|
||||
####################### V 1.7.4.2:
|
||||
|
||||
Corrections:
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
"1.7.4.2"
|
||||
"1.7.4.2+"
|
||||
|
|
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…
Reference in a new issue