Ethereal-dev: [Ethereal-dev] Add missing includes for snprintf.h

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Wed, 17 Jul 2002 00:16:06 +0200
see subject/changelog
--
Joerg Mayer                                          <jmayer@xxxxxxxxx>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.
Changelog: <jmayer@xxxxxxxxx>
	packet-dcerpc-samr.c, packet-dns.c, epan/plugins.c:
	Add include for our snprintf for systems that don't bring
	their own implementation.

Index: ethereal/packet-dcerpc-samr.c
===================================================================
RCS file: /cvsroot/ethereal/packet-dcerpc-samr.c,v
retrieving revision 1.50
diff -u -r1.50 packet-dcerpc-samr.c
--- packet-dcerpc-samr.c	2002/07/06 17:44:47	1.50
+++ packet-dcerpc-samr.c	2002/07/16 22:07:26
@@ -28,6 +28,10 @@
 #include "config.h"
 #endif
 
+#ifdef NEED_SNPRINTF_H
+# include "snprintf.h"
+#endif
+
 #include <glib.h>
 #include <epan/packet.h>
 #include <string.h>
Index: ethereal/packet-dns.c
===================================================================
RCS file: /cvsroot/ethereal/packet-dns.c,v
retrieving revision 1.88
diff -u -r1.88 packet-dns.c
--- packet-dns.c	2002/06/15 20:38:34	1.88
+++ packet-dns.c	2002/07/16 22:07:27
@@ -30,6 +30,10 @@
 # include <sys/types.h>
 #endif
 
+#ifdef NEED_SNPRINTF_H
+# include "snprintf.h"
+#endif
+
 #include <stdio.h>
 #include <string.h>
 #include <memory.h>
Index: ethereal/epan/plugins.c
===================================================================
RCS file: /cvsroot/ethereal/epan/plugins.c,v
retrieving revision 1.55
diff -u -r1.55 plugins.c
--- plugins.c	2002/07/12 22:52:36	1.55
+++ plugins.c	2002/07/16 22:07:27
@@ -26,6 +26,10 @@
 # include "config.h"
 #endif
 
+#ifdef NEED_SNPRINTF_H
+# include "snprintf.h"
+#endif
+
 #include "plugins.h"
 
 #ifdef HAVE_PLUGINS