diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-08-31 23:21:29 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-08-31 23:21:29 +0000 |
commit | b023ed6e05c3d6e513e21fbd66274ed1f8e40de6 (patch) | |
tree | b244ec9cbb3f5196caab5ba694015e831ddd5f25 /packet-ip.c | |
parent | b2f03b163e7a9db61e59f7cf82b890dd5bf47d25 (diff) |
We now use "snprintf()" in "dissect_ip_tcp_options()", so we may need to
include "snprintf.h" to declare it.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@621 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ip.c')
-rw-r--r-- | packet-ip.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/packet-ip.c b/packet-ip.c index 2fe36222b6..0a2de63e71 100644 --- a/packet-ip.c +++ b/packet-ip.c @@ -1,7 +1,7 @@ /* packet-ip.c * Routines for IP and miscellaneous IP protocol packet disassembly * - * $Id: packet-ip.c,v 1.45 1999/08/28 19:38:37 guy Exp $ + * $Id: packet-ip.c,v 1.46 1999/08/31 23:21:29 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -42,6 +42,15 @@ #include "resolv.h" #include "util.h" +#ifdef NEED_SNPRINTF_H +# ifdef HAVE_STDARG_H +# include <stdarg.h> +# else +# include <varargs.h> +# endif +# include "snprintf.h" +#endif + #ifndef __PACKET_IP_H__ #include "packet-ip.h" #endif |