diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-05-12 03:29:59 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-05-12 03:29:59 +0000 |
commit | 33db7e6fcb9c1fce24e54a33e208b271f6a33fec (patch) | |
tree | c087b1528a95d797101e711818404cdfb9d4d45f /tethereal.c | |
parent | bcc201cd88de15baadc83ac351d81a6b04838fb4 (diff) |
Don't include <pcap.h> twice.
svn path=/trunk/; revision=14357
Diffstat (limited to 'tethereal.c')
-rw-r--r-- | tethereal.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tethereal.c b/tethereal.c index 1269c1f894..7184fd6045 100644 --- a/tethereal.c +++ b/tethereal.c @@ -47,11 +47,6 @@ #include <signal.h> -#ifdef HAVE_LIBPCAP -#include <pcap.h> -#include <setjmp.h> -#endif - #ifdef HAVE_SYS_STAT_H # include <sys/stat.h> #endif @@ -99,14 +94,15 @@ #ifdef HAVE_LIBPCAP #include <pcap.h> +#include <setjmp.h> #include "pcap-util.h" #include <wiretap/wtap-capture.h> #include <wiretap/libpcap.h> #ifdef _WIN32 #include "capture-wpcap.h" -#endif +#endif /* _WIN32 */ #include "capture.h" -#endif +#endif /* HAVE_LIBPCAP */ /* |