aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2003-12-21 12:19:39 +0000
committerUlf Lamping <ulf.lamping@web.de>2003-12-21 12:19:39 +0000
commit3b77bfee59b57f98ee1f9cc6fcb12c3b7aff5846 (patch)
tree5a8d0f960cdd56fc521173c48958cd6f59fc6220 /util.c
parent6126aad3b2b66f53e2c098ed294605d361a6e6c8 (diff)
removed some MSVC warnings (moved pcap.h before glib.h)
svn path=/trunk/; revision=9393
Diffstat (limited to 'util.c')
-rw-r--r--util.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/util.c b/util.c
index 26ee78395f..e4a93d89d3 100644
--- a/util.c
+++ b/util.c
@@ -1,7 +1,7 @@
/* util.c
* Utility routines
*
- * $Id: util.c,v 1.74 2003/12/06 16:35:18 gram Exp $
+ * $Id: util.c,v 1.75 2003/12/21 12:19:39 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -26,6 +26,10 @@
# include "config.h"
#endif
+#ifdef HAVE_LIBPCAP
+#include <pcap.h>
+#endif /* HAVE_LIBPCAP */
+
#include <glib.h>
#include <stdlib.h>
@@ -64,10 +68,6 @@ typedef int mode_t; /* for win32 */
#include <pcre.h> /* to get the libpcre version number */
#endif /* HAVE_LIBPCRE */
-#ifdef HAVE_LIBPCAP
-#include <pcap.h>
-#endif /* HAVE_LIBPCAP */
-
/*
* This has to come after the include of <pcap.h>, as the include of
* <pcap.h> might cause <winsock2.h> to be included, and if we've