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