aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ldap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-04-06 03:59:28 +0000
committerGuy Harris <guy@alum.mit.edu>2000-04-06 03:59:28 +0000
commita03f3029af1ddf3e4b1aca49acc5c2f7399b1c09 (patch)
tree510f17d86575c06bcc86684b27698a25dbbeca5a /packet-ldap.c
parent38e1616c77cd5dafb37cb02aabaed35eeba42b3d (diff)
downloadwireshark-a03f3029af1ddf3e4b1aca49acc5c2f7399b1c09.tar.gz
wireshark-a03f3029af1ddf3e4b1aca49acc5c2f7399b1c09.tar.bz2
wireshark-a03f3029af1ddf3e4b1aca49acc5c2f7399b1c09.zip
Add in an include of "snprintf.h" on platforms where it's necessary.
svn path=/trunk/; revision=1805
Diffstat (limited to 'packet-ldap.c')
-rw-r--r--packet-ldap.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/packet-ldap.c b/packet-ldap.c
index b4d9df96f5..46037e7717 100644
--- a/packet-ldap.c
+++ b/packet-ldap.c
@@ -1,7 +1,7 @@
/* packet-ldap.c
* Routines for ldap packet dissection
*
- * $Id: packet-ldap.c,v 1.7 2000/04/03 09:00:31 guy Exp $
+ * $Id: packet-ldap.c,v 1.8 2000/04/06 03:59:28 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -54,6 +54,16 @@
#include <string.h>
#include <glib.h>
+
+#ifdef NEED_SNPRINTF_H
+# ifdef HAVE_STDARG_H
+# include <stdarg.h>
+# else
+# include <varargs.h>
+# endif
+# include "snprintf.h"
+#endif
+
#include "packet.h"
#include "packet-ldap.h"