aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-util.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-04-25 22:03:54 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-04-25 22:03:54 +0000
commit334a6dec7c6dfcd6df164dcedb60204c7677cf7d (patch)
treed16963da5fb283b993ecf597adf8a43836f398ee /pcap-util.c
parent8158a0245da4c5ccb4ea5334d825363d72b2702c (diff)
Put in incomplete definitions of "struct mbuf" and "struct rtentry" to
eliminate compiler warnings on Digital UNIX. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5251 f5534014-38df-0310-8fa8-9805f1628bb7
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