]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
[master] Added include of isc/util.h as needed
authorThomas Markwalder <tmark@isc.org>
Thu, 19 Oct 2017 17:21:18 +0000 (13:21 -0400)
committerThomas Markwalder <tmark@isc.org>
Thu, 19 Oct 2017 17:21:18 +0000 (13:21 -0400)
    Merges in 46332.

RELNOTES
client/dhclient.c
common/execute.c
common/parse.c
common/socket.c
omapip/connection.c

index d3019ddb4cb1bafe23d78b98ddd7978a1c2a7e6e..bd1a14a4f0db48eb1a27cb79279ef575634dd4ac 100644 (file)
--- a/RELNOTES
+++ b/RELNOTES
@@ -1138,6 +1138,11 @@ dhcp-users@lists.isc.org.
   for pointing out the error of our ways.
   [ISC-bugs #45780]
 
+- Added explicit include of BIND9 isc/util.h to adapt to revisisions
+  in BIND9 (see BIND9 ticket #46311).  Prior to this the build was failing
+  with implicit function declarations errors for POST() and INSIST().
+  [ISC-bugs #46332]
+
                        Changes since 4.2.0 (new features)
 
 - If a client renews before 'dhcp-cache-threshold' percent of its lease
index 56511df47cd40e23ac0faac2cdeb93ddaa7d2dbc..081783b449f617e9dd320ed755f03843f7d23de3 100644 (file)
  */
 
 #include "dhcpd.h"
+#include <isc/util.h>
+#include <isc/file.h>
+#include <dns/result.h>
 #include <syslog.h>
 #include <signal.h>
 #include <errno.h>
 #include <sys/time.h>
 #include <sys/wait.h>
 #include <limits.h>
-#include <isc/file.h>
-#include <dns/result.h>
 
 TIME default_lease_time = 43200; /* 12 hours... */
 TIME max_lease_time = 86400; /* 24 hours... */
index 6a756172cc87c48248feaa69be0a120bb29c9f46..a33cec85d6090a25ea3ef5a98499f7a6cafbb124 100644 (file)
@@ -27,6 +27,7 @@
  */
 
 #include "dhcpd.h"
+#include <isc/util.h>
 #include <omapip/omapip_p.h>
 #include <sys/types.h>
 #include <sys/wait.h>
index 8b218c6af4499f601f32b5bee563ea570724d0aa..3ac4ebf7587d10ceb2444ee30ae59afdc703eb4d 100644 (file)
@@ -27,6 +27,7 @@
  */
 
 #include "dhcpd.h"
+#include <isc/util.h>
 #include <syslog.h>
 
 struct collection default_collection = { NULL, "default", NULL };
index 24b5848e0cb424e87140e9601e50645cb3628be5..89ae046babd783bcb1d8af1d1cb8805a5f517d28 100644 (file)
@@ -35,6 +35,7 @@
  */
 
 #include "dhcpd.h"
+#include <isc/util.h>
 #include <errno.h>
 #include <sys/ioctl.h>
 #include <sys/uio.h>
index 4d53b2658ee7b14ce99aed475249b153c66963e2..014ff21b297d71fbc4c3894f0c35d1babaac1bbe 100644 (file)
@@ -27,7 +27,7 @@
  */
 
 #include "dhcpd.h"
-
+#include <isc/util.h>
 #include <omapip/omapip_p.h>
 #include <arpa/inet.h>
 #include <arpa/nameser.h>