1
0
Fork 0
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:
Gerhard Rieger 2021-11-08 20:57:00 +01:00
parent 47674f924a
commit 33a5019b18
3 changed files with 9 additions and 2 deletions

View file

@ -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;