From 38640d85113032c9a055fbb46542d6acc1af90f4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 12 Aug 2016 22:47:47 +0100 Subject: [PATCH] Properly include harness.h in adnstest.c in regress/. Suppresses a couple of compiler warnings (implicit declaration of Texit, etc.) Signed-off-by: Ian Jackson --- changelog | 2 ++ client/adnstest.c | 1 + 2 files changed, 3 insertions(+) diff --git a/changelog b/changelog index 487c24e..f4886ea 100644 --- a/changelog +++ b/changelog @@ -14,6 +14,8 @@ adns (1.5.1~~) UPSTREAM; urgency=low associated count is zero). * adnsresfilter: Fix addrtextbuf buffer size. This is not actually a problem in real compiled code but should be corrected. + * Properly include harness.h in adnstest.c in regress/. Suppresses + a couple of compiler warnings (implicit declaration of Texit, etc.) -- diff --git a/client/adnstest.c b/client/adnstest.c index f217dea..e5d040a 100644 --- a/client/adnstest.c +++ b/client/adnstest.c @@ -38,6 +38,7 @@ #ifdef ADNS_REGRESS_TEST # include "hredirect.h" +# include "harness.h" # undef exit # define exit Texit #endif -- 2.11.0