diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-08-20 20:45:14 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-08-20 20:45:14 +0000 |
commit | 0a25d2df5b7af97ab60ee9599c2e52c2ace73f60 (patch) | |
tree | 5108f38ab2796b9716699590568f8f493dd521b2 /dfilter-grammar.y | |
parent | f0e5afe7a981a9717cdd5d333a7dd41035104cbd (diff) |
Include "snprintf.h" if necessary, to squelch some "gcc -Wall"
complaints.
svn path=/trunk/; revision=531
Diffstat (limited to 'dfilter-grammar.y')
-rw-r--r-- | dfilter-grammar.y | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/dfilter-grammar.y b/dfilter-grammar.y index ba27f0e95e..74171c2e80 100644 --- a/dfilter-grammar.y +++ b/dfilter-grammar.y @@ -3,7 +3,7 @@ /* dfilter-grammar.y * Parser for display filters * - * $Id: dfilter-grammar.y,v 1.12 1999/08/20 20:37:45 gram Exp $ + * $Id: dfilter-grammar.y,v 1.13 1999/08/20 20:45:14 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -37,6 +37,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 + #ifndef __GLIB_H__ #include <glib.h> #endif |