aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-03-30 19:37:31 +0000
committerGuy Harris <guy@alum.mit.edu>2004-03-30 19:37:31 +0000
commit5eb39c4638ddbc758ed341671236cf9202fb1855 (patch)
tree3d3fa18ea8bd23fbfed31f163e0a42d90d0530c1
parentaf3a427ffdb445919d64fb1a339459de266afdc8 (diff)
downloadwireshark-5eb39c4638ddbc758ed341671236cf9202fb1855.tar.gz
wireshark-5eb39c4638ddbc758ed341671236cf9202fb1855.tar.bz2
wireshark-5eb39c4638ddbc758ed341671236cf9202fb1855.zip
From Albert Chin: "config.h" should come before all other #includes.
svn path=/trunk/; revision=10528
-rw-r--r--packet-smb-mailslot.c6
-rw-r--r--wiretap/wtap.c9
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 <jfoste@woodward.com>
*
- * $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 <gerald@ethereal.com>
@@ -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 <string.h>
#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 <gram@alumni.rice.edu>
@@ -20,12 +20,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include <string.h>
-#include <errno.h>
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+
+#include <string.h>
+#include <errno.h>
+
#include "wtap-int.h"
#include "file_wrappers.h"
#include "buffer.h"