dect
/
libpcap
Archived
13
0
Fork 0

Get rid of probably-unnecessary includes of <net/if.h>.

This commit is contained in:
guy 2002-08-05 07:59:43 +00:00
parent 7989614935
commit 68634dadde
2 changed files with 2 additions and 8 deletions

View File

@ -21,7 +21,7 @@
*/
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.172 2002-08-02 05:53:53 guy Exp $ (LBL)";
"@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.173 2002-08-05 07:59:43 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@ -49,10 +49,6 @@ static const char rcsid[] =
#include <sys/param.h>
#endif
struct mbuf; /* Squelch compiler warnings on some platforms for */
struct rtentry; /* declarations in <net/if.h> */
#include <net/if.h>
#include <netinet/in.h>
#endif /* WIN32 */

View File

@ -22,7 +22,7 @@
*/
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/grammar.y,v 1.75 2002-08-02 05:11:13 guy Exp $ (LBL)";
"@(#) $Header: /tcpdump/master/libpcap/grammar.y,v 1.76 2002-08-05 07:59:43 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@ -45,8 +45,6 @@ struct mbuf;
struct rtentry;
#endif
#include <net/if.h>
#include <netinet/in.h>
#endif /* WIN32 */