chiark / gitweb /
Properly include harness.h in adnstest.c in regress/.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 12 Aug 2016 21:47:47 +0000 (22:47 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 12 Aug 2016 21:47:51 +0000 (22:47 +0100)
Suppresses a couple of compiler warnings (implicit declaration of
Texit, etc.)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
changelog
client/adnstest.c

index 487c24e..f4886ea 100644 (file)
--- 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.)
 
  --
 
index f217dea..e5d040a 100644 (file)
@@ -38,6 +38,7 @@
 
 #ifdef ADNS_REGRESS_TEST
 # include "hredirect.h"
+# include "harness.h"
 # undef exit
 # define exit Texit
 #endif