mdns: remove unneeded headers

Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Beniamin Sandu
2023-06-19 21:19:55 +03:00
committed by Khem Raj
parent 63b1dbd093
commit d552fa0478
2 changed files with 34 additions and 0 deletions
@@ -0,0 +1,33 @@
From 1d7e71e72c597ffcc19c04373a477d1fbd3ad955 Mon Sep 17 00:00:00 2001
From: Beniamin Sandu <beniaminsandu@gmail.com>
Date: Thu, 15 Jun 2023 17:02:58 +0000
Subject: [PATCH] remove unneeded headers
From a quick look, these seem to not be needed and having them
breaks the build with mbedtls 3.x. Without them it builds fine
on both 2.x and 3.x versions.
Upstream-Status: Pending
Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com>
---
mDNSPosix/mbedtls.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/mDNSPosix/mbedtls.c b/mDNSPosix/mbedtls.c
index a73681b..ab8f8c7 100644
--- a/mDNSPosix/mbedtls.c
+++ b/mDNSPosix/mbedtls.c
@@ -38,10 +38,8 @@
#include <mbedtls/sha256.h>
#include <mbedtls/base64.h>
-#include <mbedtls/certs.h>
#include <mbedtls/x509.h>
#include <mbedtls/ssl.h>
-#include <mbedtls/config.h>
// Posix TLS server context
struct TLSContext_struct {
--
2.34.1
@@ -21,6 +21,7 @@ SRC_URI = "git://github.com/apple-oss-distributions/mDNSResponder;protocol=https
file://0006-Handle-noisy-netlink-sockets.patch \
file://0007-Mark-deleted-interfaces-as-being-changed.patch \
file://0008-Handle-errors-from-socket-calls.patch \
file://0009-remove-unneeded-headers.patch \
file://mdns.service \
"
SRCREV = "8769ab51605e465425d33d757f602ce5905ca639"