summaryrefslogtreecommitdiff
path: root/caputils
diff options
context:
space:
mode:
Diffstat (limited to 'caputils')
-rw-r--r--caputils/capture-pcap-util-unix.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/caputils/capture-pcap-util-unix.c b/caputils/capture-pcap-util-unix.c
index 416349f87e..29be6d2b83 100644
--- a/caputils/capture-pcap-util-unix.c
+++ b/caputils/capture-pcap-util-unix.c
@@ -433,7 +433,11 @@ get_if_capabilities_local(interface_options *interface_opts, char **err_str)
}
pcap_t *
-open_capture_device_local(capture_options *capture_opts,
+open_capture_device_local(capture_options *capture_opts
+#ifndef HAVE_PCAP_CREATE
+ _U_
+#endif
+ ,
interface_options *interface_opts, int timeout,
char (*open_err_str)[PCAP_ERRBUF_SIZE])
{