Include "snprintf.h" if necessary - we use "snprintf()".
authorGuy Harris <guy@alum.mit.edu>
Sat, 12 Jun 1999 09:02:12 +0000 (09:02 -0000)
committerGuy Harris <guy@alum.mit.edu>
Sat, 12 Jun 1999 09:02:12 +0000 (09:02 -0000)
svn path=/trunk/; revision=309

packet-isakmp.c

index b2d5a8a8a7029e17f43910a1db18f41411ce1fa3..ca35793b7ee51e48ddeb76403d22209eb87eee2c 100644 (file)
@@ -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>
 #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")