]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] fix dns_dtmsg_t type redefinition
authorEvan Hunt <each@isc.org>
Wed, 13 Apr 2016 17:12:21 +0000 (10:12 -0700)
committerEvan Hunt <each@isc.org>
Wed, 13 Apr 2016 17:12:21 +0000 (10:12 -0700)
lib/dns/dnstap.c

index e6c5e1452932808b430c47b861bebdfba1c0a283..a673c44c3a523e2713fb2a54a1a1c352fb9efdd8 100644 (file)
@@ -71,6 +71,7 @@
 #include <dns/message.h>
 #include <dns/rdataset.h>
 #include <dns/result.h>
+#include <dns/types.h>
 #include <dns/view.h>
 
 #include <dns/dnstap.pb-c.h>
 #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); \