From 054da75e88e1f723994813756f35aabbe9fab436 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 12 Jun 1999 09:02:12 +0000 Subject: Include "snprintf.h" if necessary - we use "snprintf()". svn path=/trunk/; revision=309 --- packet-isakmp.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'packet-isakmp.c') diff --git a/packet-isakmp.c b/packet-isakmp.c index b2d5a8a8a7..ca35793b7e 100644 --- a/packet-isakmp.c +++ b/packet-isakmp.c @@ -2,7 +2,7 @@ * Routines for the Internet Security Association and Key Management Protocol (ISAKMP) * Brad Robel-Forrest * - * $Id: packet-isakmp.c,v 1.1 1999/06/11 15:30:38 gram Exp $ + * $Id: packet-isakmp.c,v 1.2 1999/06/12 09:02:12 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -37,6 +37,15 @@ #include #include "packet.h" +#ifdef NEED_SNPRINTF_H +# ifdef HAVE_STDARG_H +# include +# else +# include +# endif +# include "snprintf.h" +#endif + #define NUM_PROTO_TYPES 5 #define proto2str(t) \ ((t < NUM_PROTO_TYPES) ? prototypestr[t] : "UNKNOWN-PROTO-TYPE") -- cgit v1.2.3