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