From 5fdf476b3259f76bf1da2726a3fa3476b6f1b744 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Wed, 13 Apr 2016 10:12:21 -0700 Subject: [PATCH] [master] fix dns_dtmsg_t type redefinition --- lib/dns/dnstap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/dns/dnstap.c b/lib/dns/dnstap.c index e6c5e14529..a673c44c3a 100644 --- a/lib/dns/dnstap.c +++ b/lib/dns/dnstap.c @@ -71,6 +71,7 @@ #include #include #include +#include #include #include @@ -82,12 +83,12 @@ #define DNSTAP_CONTENT_TYPE "protobuf:dnstap.Dnstap" #define DNSTAP_INITIAL_BUF_SIZE 256 -typedef struct dns_dtmsg { +struct dns_dtmsg { void *buf; size_t len; Dnstap__Dnstap d; Dnstap__Message m; -} dns_dtmsg_t; +}; #define CHECK(x) do { \ result = (x); \