summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-06-25 12:06:35 -0700
committerGuy Harris <guy@alum.mit.edu>2014-06-25 12:06:35 -0700
commita509c52d31d1835d54295e9157d9ec387b27520b (patch)
treec408c48a9eadc7311d28a49023d21bcdca5bad62 /config.h.in
parente76768c97a70934b8f3a41fe2df705c61a924a47 (diff)
downloadtcpdump-a509c52d31d1835d54295e9157d9ec387b27520b.tar.gz
Allow builds if libpcap doesn't have pcap_set_tstamp_precision().
Check for pcap_set_tstamp_precision() in the configure script and, if it's not there, don't include the code that allows time stamp precisions to be set.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index d7f37c6a..eb48e224 100644
--- a/config.h.in
+++ b/config.h.in
@@ -121,6 +121,9 @@
/* Define to 1 if you have the `pcap_set_datalink' function. */
#undef HAVE_PCAP_SET_DATALINK
+/* Define to 1 if you have the `pcap_set_tstamp_precision' function. */
+#undef HAVE_PCAP_SET_TSTAMP_PRECISION
+
/* Define to 1 if you have the `pcap_set_tstamp_type' function. */
#undef HAVE_PCAP_SET_TSTAMP_TYPE