diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2003-12-21 12:19:39 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2003-12-21 12:19:39 +0000 |
commit | 3b77bfee59b57f98ee1f9cc6fcb12c3b7aff5846 (patch) | |
tree | 5a8d0f960cdd56fc521173c48958cd6f59fc6220 /wiretap | |
parent | 6126aad3b2b66f53e2c098ed294605d361a6e6c8 (diff) |
removed some MSVC warnings (moved pcap.h before glib.h)
svn path=/trunk/; revision=9393
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/libpcap.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/wiretap/libpcap.c b/wiretap/libpcap.c index ffe484cf86..b50ab8ccc1 100644 --- a/wiretap/libpcap.c +++ b/wiretap/libpcap.c @@ -1,6 +1,6 @@ /* libpcap.c * - * $Id: libpcap.c,v 1.104 2003/12/21 06:02:06 jmayer Exp $ + * $Id: libpcap.c,v 1.105 2003/12/21 12:17:05 ulfl Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -24,6 +24,10 @@ #include "config.h" #endif +#ifdef HAVE_PCAP_H +#include <pcap.h> +#endif + #include <stdlib.h> #include <string.h> #include <errno.h> @@ -37,7 +41,6 @@ # ifdef HAVE_SYS_TYPES_H # include <sys/types.h> # endif -#include <pcap.h> #include "wtap-capture.h" #endif |