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
This commit is contained in:
parent
e9b532370c
commit
8865cae811
20
packet-tcp.c
20
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 <gerald@zing.org>
|
||||
|
@ -27,15 +27,6 @@
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#ifdef NEED_SNPRINTF_H
|
||||
# ifdef HAVE_STDARG_H
|
||||
# include <stdarg.h>
|
||||
# else
|
||||
# include <varargs.h>
|
||||
# endif
|
||||
# include "snprintf.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
# include <sys/types.h>
|
||||
#endif
|
||||
|
@ -51,6 +42,15 @@
|
|||
#include "follow.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
|
||||
|
|
Loading…
Reference in New Issue