Hi André,
+#if HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT + struct tcpstat tcp_stat; +#elif HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT + struct tcp_stats tcp_stat; +#endif struct tcpstat tcp_stat;
I think you meant to remove the declaration outside of the #if. --Juan
Am 03.06.2012 04:05, schrieb Juan Lang:
Hi André,
+#if HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT
struct tcpstat tcp_stat;
+#elif HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT
struct tcp_stats tcp_stat;
+#endif struct tcpstat tcp_stat;
I think you meant to remove the declaration outside of the #if. --Juan
Oops, you're right, thx.