aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pcapio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pcapio.c b/pcapio.c
index ab4ef66e19..d75bbee373 100644
--- a/pcapio.c
+++ b/pcapio.c
@@ -410,7 +410,9 @@ libpcap_write_interface_statistics_block(FILE *fp,
int *err)
{
struct isb isb;
+#ifndef _WIN32
struct timeval now;
+#endif
struct option option;
struct pcap_stat stats;
guint32 block_total_length;