aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dfilter-grammar.y11
-rw-r--r--dfilter.c11
2 files changed, 20 insertions, 2 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
diff --git a/dfilter.c b/dfilter.c
index 6b0d723f13..fbf5e7c1f1 100644
--- a/dfilter.c
+++ b/dfilter.c
@@ -1,7 +1,7 @@
/* dfilter.c
* Routines for display filters
*
- * $Id: dfilter.c,v 1.12 1999/08/20 20:37:46 gram Exp $
+ * $Id: dfilter.c,v 1.13 1999/08/20 20:45:13 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -39,6 +39,15 @@
#include <string.h>
#endif
+#ifdef NEED_SNPRINTF_H
+# ifdef HAVE_STDARG_H
+# include <stdarg.h>
+# else
+# include <varargs.h>
+# endif
+# include "snprintf.h"
+#endif
+
#ifndef __G_LIB_H__
#include <glib.h>
#endif