Don't drag in a huge pile of headers in "packet-smb-common.h"; rely on

the files including it to include what they need.

svn path=/trunk/; revision=11588
This commit is contained in:
Guy Harris 2004-08-02 23:40:09 +00:00
parent 38275196eb
commit 135dd00b14
6 changed files with 25 additions and 12 deletions

View File

@ -27,6 +27,8 @@
#include "config.h"
#endif
#include <string.h>
#include <glib.h>
#include <epan/packet.h>
#include "packet-dcerpc.h"

View File

@ -28,6 +28,9 @@
# include "config.h"
#endif
#include <string.h>
#include <ctype.h>
#include <glib.h>
#include <epan/packet.h>

View File

@ -25,6 +25,15 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <string.h>
#include <glib.h>
#include <epan/packet.h>
#include "packet-smb-common.h"
/*

View File

@ -28,18 +28,6 @@
#ifndef __PACKET_SMB_COMMON_H__
#define __PACKET_SMB_COMMON_H__
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <time.h>
#include <string.h>
#include <glib.h>
#include <ctype.h>
#include <epan/packet.h>
#include <epan/conversation.h>
#include "smb.h"
int dissect_smb_unknown(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset);

View File

@ -25,6 +25,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <glib.h>
#include <epan/packet.h>
#include "packet-smb-common.h"
static int proto_smb_logon = -1;

View File

@ -30,6 +30,10 @@
#endif
#include <string.h>
#include <glib.h>
#include <epan/packet.h>
#include "packet-smb-common.h"
#include "packet-smb-mailslot.h"
#include "packet-smb-browse.h"