From 5eb39c4638ddbc758ed341671236cf9202fb1855 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 30 Mar 2004 19:37:31 +0000 Subject: From Albert Chin: "config.h" should come before all other #includes. svn path=/trunk/; revision=10528 --- packet-smb-mailslot.c | 6 +++++- wiretap/wtap.c | 9 +++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/packet-smb-mailslot.c b/packet-smb-mailslot.c index 381fbab32d..9879433a4e 100644 --- a/packet-smb-mailslot.c +++ b/packet-smb-mailslot.c @@ -2,7 +2,7 @@ * Routines for SMB mailslot packet dissection * Copyright 2000, Jeffrey C. Foster * - * $Id: packet-smb-mailslot.c,v 1.35 2003/11/19 03:53:33 guy Exp $ + * $Id: packet-smb-mailslot.c,v 1.36 2004/03/30 19:37:31 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -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 #include "packet-smb-common.h" #include "packet-smb-mailslot.h" diff --git a/wiretap/wtap.c b/wiretap/wtap.c index 0496ca4da6..3fd92285a1 100644 --- a/wiretap/wtap.c +++ b/wiretap/wtap.c @@ -1,6 +1,6 @@ /* wtap.c * - * $Id: wtap.c,v 1.92 2004/03/23 01:02:41 guy Exp $ + * $Id: wtap.c,v 1.93 2004/03/30 19:37:31 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez @@ -20,12 +20,13 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include -#include - #ifdef HAVE_CONFIG_H #include "config.h" #endif + +#include +#include + #include "wtap-int.h" #include "file_wrappers.h" #include "buffer.h" -- cgit v1.2.3