aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dns.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-07-16 22:50:48 +0000
committerGuy Harris <guy@alum.mit.edu>2002-07-16 22:50:48 +0000
commitff49944dcd069fca04abbcc72bb99adc3a53d695 (patch)
treec207db1ebafd7fe83c4247e5f97c6de63ecc8e69 /packet-dns.c
parentf65887d2209b3777154ae8fcba1fa74f096d1fd7 (diff)
downloadwireshark-ff49944dcd069fca04abbcc72bb99adc3a53d695.tar.gz
wireshark-ff49944dcd069fca04abbcc72bb99adc3a53d695.tar.bz2
wireshark-ff49944dcd069fca04abbcc72bb99adc3a53d695.zip
From Joerg Mayer: add #includes of "snprintf.h" in modules that used
"snprintf()" but weren't including "snprintf.h". svn path=/trunk/; revision=5887
Diffstat (limited to 'packet-dns.c')
-rw-r--r--packet-dns.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/packet-dns.c b/packet-dns.c
index 87535fd3e4..e763fc2634 100644
--- a/packet-dns.c
+++ b/packet-dns.c
@@ -1,7 +1,7 @@
/* packet-dns.c
* Routines for DNS packet disassembly
*
- * $Id: packet-dns.c,v 1.88 2002/06/15 20:38:34 guy Exp $
+ * $Id: packet-dns.c,v 1.89 2002/07/16 22:50:45 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -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>