aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
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