diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-12-15 22:52:04 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-12-15 22:52:04 +0000 |
commit | 0305e68aefd52ebf592c959b3e792f443309e3b6 (patch) | |
tree | 31db4c3998065643f4d7644d6b0d4a4246d24d2c /packet-isis-clv.c | |
parent | e588b8057bc2b64b7972cda55471453250311e81 (diff) |
Include "snprintf.h" on platforms that don't have an "snprintf()" of
their own.
svn path=/trunk/; revision=1348
Diffstat (limited to 'packet-isis-clv.c')
-rw-r--r-- | packet-isis-clv.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/packet-isis-clv.c b/packet-isis-clv.c index 9658517604..8cbfc6f539 100644 --- a/packet-isis-clv.c +++ b/packet-isis-clv.c @@ -1,7 +1,7 @@ /* packet-isis-clv.c * Common CLV decode routines. * - * $Id: packet-isis-clv.c,v 1.1 1999/12/15 04:34:17 guy Exp $ + * $Id: packet-isis-clv.c,v 1.2 1999/12/15 22:52:04 guy Exp $ * Stuart Stanley <stuarts@mxmail.net> * * Ethereal - Network traffic analyzer @@ -34,6 +34,15 @@ # include <sys/types.h> #endif +#ifdef NEED_SNPRINTF_H +# ifdef HAVE_STDARG_H +# include <stdarg.h> +# else +# include <varargs.h> +# endif +# include "snprintf.h" +#endif + #include <stdio.h> #include <string.h> #include <glib.h> |