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

324fcf
From c37721f799e6b32da156759a830011949311205a Mon Sep 17 00:00:00 2001
324fcf
From: Petr Mensik <pemensik@redhat.com>
324fcf
Date: Fri, 16 Feb 2018 17:50:40 +0100
324fcf
Subject: [PATCH] New bind includes never includes isc/util.h from any public
324fcf
 headers. Include them to all compiled files that require it.
324fcf
324fcf
---
324fcf
 client/dhclient.c   | 1 +
324fcf
 common/execute.c    | 1 +
324fcf
 common/parse.c      | 1 +
324fcf
 common/socket.c     | 1 +
324fcf
 omapip/connection.c | 1 +
324fcf
 5 files changed, 5 insertions(+)
324fcf
324fcf
diff --git a/client/dhclient.c b/client/dhclient.c
324fcf
index 228b4fe..014365d 100644
324fcf
--- a/client/dhclient.c
324fcf
+++ b/client/dhclient.c
324fcf
@@ -38,6 +38,7 @@
324fcf
 #include <sys/wait.h>
324fcf
 #include <limits.h>
324fcf
 #include <isc/file.h>
324fcf
+#include <isc/util.h>
324fcf
 #include <dns/result.h>
324fcf
 
324fcf
 #ifdef HAVE_LIBCAP_NG
324fcf
diff --git a/common/execute.c b/common/execute.c
324fcf
index fa4e0f8..1ee1e7d 100644
324fcf
--- a/common/execute.c
324fcf
+++ b/common/execute.c
324fcf
@@ -28,6 +28,7 @@
324fcf
 
324fcf
 #include "dhcpd.h"
324fcf
 #include <omapip/omapip_p.h>
324fcf
+#include <isc/util.h>
324fcf
 #include <sys/types.h>
324fcf
 #include <sys/wait.h>
324fcf
 
324fcf
diff --git a/common/parse.c b/common/parse.c
324fcf
index d08cd2c..729d442 100644
324fcf
--- a/common/parse.c
324fcf
+++ b/common/parse.c
324fcf
@@ -27,6 +27,7 @@
324fcf
  */
324fcf
 
324fcf
 #include "dhcpd.h"
324fcf
+#include <isc/util.h>
324fcf
 #include <syslog.h>
324fcf
 
324fcf
 /* Enumerations can be specified in option formats, and are used for
324fcf
diff --git a/common/socket.c b/common/socket.c
324fcf
index 2b352a1..94ce334 100644
324fcf
--- a/common/socket.c
324fcf
+++ b/common/socket.c
324fcf
@@ -35,6 +35,7 @@
324fcf
  */
324fcf
 
324fcf
 #include "dhcpd.h"
324fcf
+#include <isc/util.h>
324fcf
 #include <errno.h>
324fcf
 #include <sys/ioctl.h>
324fcf
 #include <sys/uio.h>
324fcf
diff --git a/omapip/connection.c b/omapip/connection.c
324fcf
index 9aac0c8..a74becc 100644
324fcf
--- a/omapip/connection.c
324fcf
+++ b/omapip/connection.c
324fcf
@@ -30,6 +30,7 @@
324fcf
 #include "dhcpd.h"
324fcf
 
324fcf
 #include <omapip/omapip_p.h>
324fcf
+#include <isc/util.h>
324fcf
 #include <arpa/inet.h>
324fcf
 #include <arpa/nameser.h>
324fcf
 #include <errno.h>
324fcf
-- 
324fcf
2.14.3
324fcf