Only include config.h in C files, to avoid multiple inclusion.

svn path=/trunk/; revision=30182
This commit is contained in:
Stig Bjørlykke 2009-09-28 17:58:47 +00:00
parent ad6a8fbe51
commit e2d6320d75
11 changed files with 35 additions and 8 deletions

View File

@ -25,6 +25,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "packet-h248.h"
#include <epan/tap.h>
#include "packet-tpkt.h"

View File

@ -33,6 +33,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "packet-h248.h"
#include <epan/tap.h>
#include "packet-tpkt.h"

View File

@ -29,6 +29,10 @@
*
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "packet-h248.h"
#define PNAME "H.248.10"
#define PSNAME "H248CHP"

View File

@ -25,6 +25,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "packet-h248.h"
#define PNAME "H.248 3GPP"
#define PSNAME "H2483GPP"

View File

@ -26,6 +26,9 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "packet-h248.h"

View File

@ -25,6 +25,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "packet-h248.h"
#define PNAME "H.248 Annex C"
#define PSNAME "H248C"

View File

@ -25,6 +25,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "packet-h248.h"
#define PNAME "H.248 Annex E"
#define PSNAME "H248E"

View File

@ -27,6 +27,10 @@
* Ref ITU-T Rec. Q.1950 (12/2002)
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "packet-h248.h"
#include "packet-isup.h"

View File

@ -26,10 +26,6 @@
#ifndef __MSTP_H__
#define __MSTP_H__
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -29,6 +29,10 @@
* - avoid persistent tracking of NULL and ALL contexts
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "gcp.h"
static emem_tree_t* msgs = NULL;

View File

@ -24,10 +24,6 @@
#ifndef __GCP_H_
#define __GCP_H_
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <glib.h>
#include <epan/packet.h>
#include <epan/conversation.h>