aboutsummaryrefslogtreecommitdiffstats
path: root/packet-pim.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-10-14 01:39:47 +0000
committerGuy Harris <guy@alum.mit.edu>1999-10-14 01:39:47 +0000
commit8b592e44a5985fa5a836bf0389fc833f6847bd7b (patch)
treed30fcd2871bd86c6e89ec3da3f1021b5ba7a2197 /packet-pim.c
parent364274edf3fb65e39b100c50ef8a4acd92273d07 (diff)
downloadwireshark-8b592e44a5985fa5a836bf0389fc833f6847bd7b.tar.gz
wireshark-8b592e44a5985fa5a836bf0389fc833f6847bd7b.tar.bz2
wireshark-8b592e44a5985fa5a836bf0389fc833f6847bd7b.zip
Include "snprintf.h" on systems that don't declare "snprintf()" in a
system header file. svn path=/trunk/; revision=825
Diffstat (limited to 'packet-pim.c')
-rw-r--r--packet-pim.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/packet-pim.c b/packet-pim.c
index a965f535b2..bf511c8c0c 100644
--- a/packet-pim.c
+++ b/packet-pim.c
@@ -2,7 +2,7 @@
* Routines for PIM disassembly
* (c) Copyright Jun-ichiro itojun Hagino <itojun@itojun.org>
*
- * $Id: packet-pim.c,v 1.2 1999/10/13 15:25:21 gram Exp $
+ * $Id: packet-pim.c,v 1.3 1999/10/14 01:39:47 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -34,6 +34,15 @@
#include <netinet/in.h>
#endif
+#ifdef NEED_SNPRINTF_H
+# ifdef HAVE_STDARG_H
+# include <stdarg.h>
+# else
+# include <varargs.h>
+# endif
+# include "snprintf.h"
+#endif
+
#include <glib.h>
#include "packet.h"
#include "packet-ipv6.h"