diff options
author | guy <guy> | 2001-08-01 03:31:55 +0000 |
---|---|---|
committer | guy <guy> | 2001-08-01 03:31:55 +0000 |
commit | a9f1b2876ebfa58310b4da584dae1ec5f9df131d (patch) | |
tree | e5464e902baf2f84121846bfa0d9c06e33c10800 /print-sctp.c | |
parent | 1e53e21ca3593532ca364446ff5282e16301a2ae (diff) | |
download | tcpdump-a9f1b2876ebfa58310b4da584dae1ec5f9df131d.tar.gz |
"print-sctp.c" doesn't have to include <net/if.h>, 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 <net/if.h>, it
appears to fail to compile on at least some versions of AIX; remove the
include and the incomplete definitions.
Diffstat (limited to 'print-sctp.c')
-rw-r--r-- | print-sctp.c | 8 |
1 files changed, 1 insertions, 7 deletions
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 <assert.h> -#if __STDC__ -struct mbuf; -struct rtentry; -#endif -#include <net/if.h> - #include <netinet/in.h> #include <stdio.h> |