aboutsummaryrefslogtreecommitdiffstats
path: root/packet-pim.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>1999-10-14 01:39:47 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>1999-10-14 01:39:47 +0000
commit47ac20d08f2f95d630da5a3ad7d0ba5fed46fffb (patch)
treed30fcd2871bd86c6e89ec3da3f1021b5ba7a2197 /packet-pim.c
parentb62ad3bc82c6b4c7c88cd4c7635e18ce6c570f52 (diff)
Include "snprintf.h" on systems that don't declare "snprintf()" in a
system header file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@825 f5534014-38df-0310-8fa8-9805f1628bb7
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"