aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-util.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-04-25 22:03:54 +0000
committerGuy Harris <guy@alum.mit.edu>2002-04-25 22:03:54 +0000
commit45cffd9f12161a40255beca4ebae12b5b90fdda4 (patch)
treed16963da5fb283b993ecf597adf8a43836f398ee /pcap-util.c
parenta29829175f40778cb3bcce8bdc032f8ce706d007 (diff)
Put in incomplete definitions of "struct mbuf" and "struct rtentry" to
eliminate compiler warnings on Digital UNIX. svn path=/trunk/; revision=5251
Diffstat (limited to 'pcap-util.c')
-rw-r--r--pcap-util.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/pcap-util.c b/pcap-util.c
index b2508f4902..2a46a2485a 100644
--- a/pcap-util.c
+++ b/pcap-util.c
@@ -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