From: guy Date: Wed, 1 Aug 2001 03:31:55 +0000 (+0000) Subject: "print-sctp.c" doesn't have to include , and, if it doesn't do X-Git-Tag: tcpdump-3.7.1~117 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/a9f1b2876ebfa58310b4da584dae1ec5f9df131d "print-sctp.c" doesn't have to include , and, if it doesn't do so, it doesn't need to provide incomplete definitions of "struct mbuf" or "struct rtentry", either. If it *does* include , it appears to fail to compile on at least some versions of AIX; remove the include and the incomplete definitions. --- diff --git a/print-sctp.c b/print-sctp.c index 7fdf1c7d..b37cc37c 100644 --- a/print-sctp.c +++ b/print-sctp.c @@ -35,7 +35,7 @@ #ifndef lint static const char rcsid[] = -"@(#) $Header: /tcpdump/master/tcpdump/print-sctp.c,v 1.4 2001-06-27 02:48:45 itojun Exp $ (NETLAB/PEL)"; +"@(#) $Header: /tcpdump/master/tcpdump/print-sctp.c,v 1.5 2001-08-01 03:31:55 guy Exp $ (NETLAB/PEL)"; #endif #ifdef HAVE_CONFIG_H @@ -51,12 +51,6 @@ static const char rcsid[] = #include "sctpConstants.h" #include -#if __STDC__ -struct mbuf; -struct rtentry; -#endif -#include - #include #include