summaryrefslogtreecommitdiff
path: root/net/dnstop/patches/patch-dnstop.c
blob: 624542ad87294a0e0c5ca317b60354ca0faefa6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-dnstop.c,v 1.1 2015/08/14 21:21:24 leot Exp $

Avoid incompatible types assignments.

--- dnstop.c.orig	2014-09-15 17:54:51.000000000 +0000
+++ dnstop.c
@@ -188,11 +188,7 @@ hashtbl *DomSrcs[10];
 hashtbl *KnownTLDs = NULL;
 hashtbl *NewGTLDs = NULL;
 
-#ifdef HAVE_STRUCT_BPF_TIMEVAL
-struct bpf_timeval last_ts;
-#else
 struct timeval last_ts;
-#endif
 time_t report_interval = 1;
 
 /*