#ifdef HAVE_LIBPCAP
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
}
static void
-main_cf_cb_live_capture_fixed_finished(capture_file *cf)
+main_cf_cb_live_capture_fixed_finished(capture_file *cf _U_)
{
/* Pop the "<live capture in progress>" message off the status bar. */
statusbar_pop_file_msg();
#if GTK_MAJOR_VERSION >= 2
static int
-tree_view_key_pressed_cb(GtkCTree *ctree, GdkEventKey *event, gpointer user_data _U_)
+tree_view_key_pressed_cb(GtkCTree *ctree _U_, GdkEventKey *event, gpointer user_data _U_)
{
GtkTreeSelection* selection;
GtkTreeIter iter;