aboutsummaryrefslogtreecommitdiffstats
path: root/capture_ui_utils.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2006-02-17 02:18:48 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2006-02-17 02:18:48 +0000
commit4af29c9503dd08e445085314987123ac22a70579 (patch)
tree8dd5dd504a3c13ed7cd5cd018bca2736e2bb1467 /capture_ui_utils.c
parent15bdfbb17971f84a84c7e7cbb6d06caf21b85f02 (diff)
remove dependencies to pcap.h, so getting an idea what needs to be done by dumpcap in addition to the things already done now
various dumpcap related code cleanup: mainly #include's and capture engine related stuff git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17327 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture_ui_utils.c')
-rw-r--r--capture_ui_utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/capture_ui_utils.c b/capture_ui_utils.c
index 94ac20c6ae..4cf77e51d2 100644
--- a/capture_ui_utils.c
+++ b/capture_ui_utils.c
@@ -28,7 +28,6 @@
#ifdef HAVE_LIBPCAP
-#include <pcap.h>
#include <string.h>
#include <glib.h>
@@ -110,7 +109,7 @@ get_interface_descriptive_name(const char *if_name)
GList *if_entry;
if_info_t *if_info;
int err;
- char err_buf[PCAP_ERRBUF_SIZE];
+ char err_buf[CAPTURE_PCAP_ERRBUF_SIZE];
/* Do we have a user-supplied description? */
descr = capture_dev_user_descr_find(if_name);