diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-06-12 09:02:12 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-06-12 09:02:12 +0000 |
commit | 054da75e88e1f723994813756f35aabbe9fab436 (patch) | |
tree | 2d947a12320f3a8ea7b9d2a5fbca034580e618df /packet-isakmp.c | |
parent | 018a989bbe3ae6d979997030b86d3b86bad87f9f (diff) |
Include "snprintf.h" if necessary - we use "snprintf()".
svn path=/trunk/; revision=309
Diffstat (limited to 'packet-isakmp.c')
-rw-r--r-- | packet-isakmp.c | 11 |
1 files changed, 10 insertions, 1 deletions
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 <brad.robel-forrest@watchguard.com> * - * $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 <gerald@unicom.net> @@ -37,6 +37,15 @@ #include <glib.h> #include "packet.h" +#ifdef NEED_SNPRINTF_H +# ifdef HAVE_STDARG_H +# include <stdarg.h> +# else +# include <varargs.h> +# endif +# include "snprintf.h" +#endif + #define NUM_PROTO_TYPES 5 #define proto2str(t) \ ((t < NUM_PROTO_TYPES) ? prototypestr[t] : "UNKNOWN-PROTO-TYPE") |