57726f
From 68baeb7211ba2fcd4eff53d987e9b70ba38294cb Mon Sep 17 00:00:00 2001
57726f
From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com>
57726f
Date: Thu, 20 Dec 2018 11:52:12 +0100
57726f
Subject: [PATCH] Fix implicit declaration warning
57726f
57726f
isc_md5_available() function is not declared before its use. Include
57726f
header providing it in files that use it.
57726f
---
57726f
 bin/tests/system/tkey/keydelete.c | 1 +
57726f
 lib/dns/tsig.c                    | 1 +
57726f
 2 files changed, 2 insertions(+)
57726f
57726f
diff --git a/bin/tests/system/tkey/keydelete.c b/bin/tests/system/tkey/keydelete.c
57726f
index 36ee6c7..6051cd2 100644
57726f
--- a/bin/tests/system/tkey/keydelete.c
57726f
+++ b/bin/tests/system/tkey/keydelete.c
57726f
@@ -21,6 +21,7 @@
57726f
 #include <isc/hash.h>
57726f
 #include <isc/log.h>
57726f
 #include <isc/mem.h>
57726f
+#include <isc/md5.h>
57726f
 #include <isc/print.h>
57726f
 #include <isc/sockaddr.h>
57726f
 #include <isc/socket.h>
57726f
diff --git a/lib/dns/tsig.c b/lib/dns/tsig.c
57726f
index 70805bb..33870f3 100644
57726f
--- a/lib/dns/tsig.c
57726f
+++ b/lib/dns/tsig.c
57726f
@@ -18,6 +18,7 @@
57726f
 
57726f
 #include <isc/buffer.h>
57726f
 #include <isc/mem.h>
57726f
+#include <isc/md5.h>
57726f
 #include <isc/print.h>
57726f
 #include <isc/refcount.h>
57726f
 #include <isc/serial.h>
57726f
-- 
57726f
2.14.5
57726f