]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-igmp.c
Allow tcpdump to work with earlier libpcaps.
[tcpdump] / print-igmp.c
index ac335acc8866f6bc233c311e6949b362ba1b80d1..59560df5408aa07a7dc333ab746f4c432520e600 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-igmp.c,v 1.1 2000-11-02 02:18:30 fenner Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-igmp.c,v 1.2 2000-11-02 18:02:52 fenner Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -29,24 +29,11 @@ static const char rcsid[] =
 #endif
 
 #include <sys/param.h>
-#include <sys/time.h>
 #include <sys/socket.h>
 
-#if __STDC__
-struct mbuf;
-struct rtentry;
-#endif
-#include <net/if.h>
-
 #include <netinet/in.h>
-#include <netinet/if_ether.h>
 #include <netinet/in_systm.h>
 #include <netinet/ip.h>
-#include <netinet/ip_icmp.h>
-#include <netinet/ip_var.h>
-#include <netinet/udp.h>
-#include <netinet/udp_var.h>
-#include <netinet/tcp.h>
 
 #include <stdio.h>
 #include <string.h>