Put in incomplete definitions of "struct mbuf" and "struct rtentry" to

eliminate compiler warnings on Digital UNIX.

svn path=/trunk/; revision=5251
This commit is contained in:
Guy Harris 2002-04-25 22:03:54 +00:00
parent a29829175f
commit 45cffd9f12
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
/* pcap-util.c
* Utility routines for packet capture
*
* $Id: pcap-util.c,v 1.5 2002/04/01 03:55:44 guy Exp $
* $Id: pcap-util.c,v 1.6 2002/04/25 22:03:54 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -54,6 +54,11 @@
#include <pcap.h>
#ifndef WIN32
/*
* Keep Digital UNIX happy when including <net/if.h>.
*/
struct mbuf;
struct rtentry;
#include <net/if.h>
#endif