aboutsummaryrefslogtreecommitdiffstats
path: root/packet-icmpv6.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-03-29 02:24:29 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-03-29 02:24:29 +0000
commitec1241d6e5c2bf9e1ac645d57308daf21e7eaabc (patch)
treeb1454f06e760b5c9da6934906c99f11f68ccf16c /packet-icmpv6.c
parent7a6ea657c6961a33fe684078771eae55fdf62de7 (diff)
A fix for Solaris 2.5.1 compilation.
svn path=/trunk/; revision=232
Diffstat (limited to 'packet-icmpv6.c')
-rw-r--r--packet-icmpv6.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/packet-icmpv6.c b/packet-icmpv6.c
index accc61a627..b34186b270 100644
--- a/packet-icmpv6.c
+++ b/packet-icmpv6.c
@@ -1,7 +1,7 @@
/* packet-icmpv6.c
* Routines for ICMPv6 packet disassembly
*
- * $Id: packet-icmpv6.c,v 1.1 1999/03/29 02:21:34 gram Exp $
+ * $Id: packet-icmpv6.c,v 1.2 1999/03/29 02:24:29 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -40,6 +40,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"