From 8865cae8112f7ee168f31a2969c00d148d249c89 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 23 Mar 1999 03:58:59 +0000 Subject: [PATCH] Move the include of "snprintf.h" after a bunch of other includes, so that "size_t" will be defined before it's included (it uses "size_t"). svn path=/trunk/; revision=225 --- packet-tcp.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packet-tcp.c b/packet-tcp.c index 6183a02421..7c3cbe64c8 100644 --- a/packet-tcp.c +++ b/packet-tcp.c @@ -1,7 +1,7 @@ /* packet-tcp.c * Routines for TCP packet disassembly * - * $Id: packet-tcp.c,v 1.16 1999/03/23 03:14:43 gram Exp $ + * $Id: packet-tcp.c,v 1.17 1999/03/23 03:58:59 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -27,15 +27,6 @@ # include "config.h" #endif -#ifdef NEED_SNPRINTF_H -# ifdef HAVE_STDARG_H -# include -# else -# include -# endif -# include "snprintf.h" -#endif - #ifdef HAVE_SYS_TYPES_H # include #endif @@ -51,6 +42,15 @@ #include "follow.h" #include "util.h" +#ifdef NEED_SNPRINTF_H +# ifdef HAVE_STDARG_H +# include +# else +# include +# endif +# include "snprintf.h" +#endif + #ifndef __PACKET_IP_H__ #include "packet-ip.h" #endif