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