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

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