summaryrefslogtreecommitdiff
path: root/caputils/capture-pcap-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'caputils/capture-pcap-util.h')
-rw-r--r--caputils/capture-pcap-util.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/caputils/capture-pcap-util.h b/caputils/capture-pcap-util.h
index 617bcc82e5..079e3fabd7 100644
--- a/caputils/capture-pcap-util.h
+++ b/caputils/capture-pcap-util.h
@@ -50,12 +50,16 @@ GList *get_remote_interface_list(const char *hostname, const char *port,
const char *linktype_val_to_name(int dlt);
int linktype_name_to_val(const char *linktype);
-#endif /* HAVE_LIBPCAP */
-
+#ifdef HAVE_PCAP_SET_TSTAMP_PRECISION
/*
* Get the versions of capture libraries with which we were compiled,
* and append them to a GString.
*/
+void request_high_resolution_timestamp(pcap_t *pcap_h);
+#endif /* HAVE_PCAP_SET_TSTAMP_PRECISION */
+
+#endif /* HAVE_LIBPCAP */
+
extern void get_compiled_caplibs_version(GString *str);
/*