diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-10-02 19:24:27 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-10-02 19:24:27 +0000 |
commit | 33955595327763c20f4113fee9aa8d9ff6a06db5 (patch) | |
tree | d5c9886cf4a5f44e86641f7ac287dc4abe102bda /capture.c | |
parent | 3d597048777b2fc444795b46e5d5024aa30462d1 (diff) | |
download | wireshark-33955595327763c20f4113fee9aa8d9ff6a06db5.tar.gz wireshark-33955595327763c20f4113fee9aa8d9ff6a06db5.tar.bz2 wireshark-33955595327763c20f4113fee9aa8d9ff6a06db5.zip |
Move the declaration of global variables involved with packet capture
from "globals.h" to "capture.h".
Only "capture.c" needs to include <pcap.h>; move the include of <pcap.h>
from "capture.h" to "capture.c".
We no longer need any DLT_ defines (that's handled inside Wiretap);
remove the defines of DLT_ from "capture.h".
svn path=/trunk/; revision=753
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* capture.c * Routines for packet capture windows * - * $Id: capture.c,v 1.77 1999/10/02 06:26:45 guy Exp $ + * $Id: capture.c,v 1.78 1999/10/02 19:24:18 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -75,6 +75,10 @@ # include "snprintf.h" #endif +#ifndef lib_pcap_h +#include <pcap.h> +#endif + #include "gtk/main.h" #include "packet.h" #include "file.h" |