Blame SOURCES/dhcp-4.2.5-isc-util.patch

45d60a
From 0770fd9971d38a0691d2f43528a86dba5fd40a9c Mon Sep 17 00:00:00 2001
45d60a
From: Petr Mensik <pemensik@redhat.com>
45d60a
Date: Fri, 16 Feb 2018 17:50:40 +0100
45d60a
Subject: [PATCH] New bind includes never includes isc/util.h from any public
45d60a
 headers. Include them to all compiled files that require it.
45d60a
45d60a
---
45d60a
 client/dhclient.c   | 1 +
45d60a
 common/execute.c    | 1 +
45d60a
 common/parse.c      | 1 +
45d60a
 common/socket.c     | 1 +
45d60a
 omapip/connection.c | 1 +
45d60a
 5 files changed, 5 insertions(+)
45d60a
45d60a
diff --git a/client/dhclient.c b/client/dhclient.c
45d60a
index f9d0493..cf5faa5 100644
45d60a
--- a/client/dhclient.c
45d60a
+++ b/client/dhclient.c
45d60a
@@ -37,6 +37,7 @@
45d60a
 #include <sys/time.h>
45d60a
 #include <sys/wait.h>
45d60a
 #include <limits.h>
45d60a
+#include <isc/util.h>
45d60a
 #include <dns/result.h>
45d60a
 
45d60a
 #ifdef HAVE_LIBCAP_NG
45d60a
diff --git a/common/execute.c b/common/execute.c
45d60a
index bbf0279..945c14e 100644
45d60a
--- a/common/execute.c
45d60a
+++ b/common/execute.c
45d60a
@@ -35,6 +35,7 @@
45d60a
 
45d60a
 #include "dhcpd.h"
45d60a
 #include <omapip/omapip_p.h>
45d60a
+#include <isc/util.h>
45d60a
 #include <sys/types.h>
45d60a
 #include <sys/wait.h>
45d60a
 
45d60a
diff --git a/common/parse.c b/common/parse.c
45d60a
index 7477543..de14be2 100644
45d60a
--- a/common/parse.c
45d60a
+++ b/common/parse.c
45d60a
@@ -33,6 +33,7 @@
45d60a
  */
45d60a
 
45d60a
 #include "dhcpd.h"
45d60a
+#include <isc/util.h>
45d60a
 #include <syslog.h>
45d60a
 
45d60a
 /* Enumerations can be specified in option formats, and are used for
45d60a
diff --git a/common/socket.c b/common/socket.c
45d60a
index f30c171..1df558d 100644
45d60a
--- a/common/socket.c
45d60a
+++ b/common/socket.c
45d60a
@@ -41,6 +41,7 @@
45d60a
  */
45d60a
 
45d60a
 #include "dhcpd.h"
45d60a
+#include <isc/util.h>
45d60a
 #include <errno.h>
45d60a
 #include <sys/ioctl.h>
45d60a
 #include <sys/uio.h>
45d60a
diff --git a/omapip/connection.c b/omapip/connection.c
45d60a
index d08524d..2f4d399 100644
45d60a
--- a/omapip/connection.c
45d60a
+++ b/omapip/connection.c
45d60a
@@ -36,6 +36,7 @@
45d60a
 #include "dhcpd.h"
45d60a
 
45d60a
 #include <omapip/omapip_p.h>
45d60a
+#include <isc/util.h>
45d60a
 #include <arpa/inet.h>
45d60a
 #include <arpa/nameser.h>
45d60a
 #include <errno.h>
45d60a
-- 
45d60a
2.20.1
45d60a