aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/mdns/mdns/0009-remove-unneeded-headers.patch
blob: d443bc97b2a896766adbcf98dd76f65e22b159eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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(-)

Index: mDNSResponder/mDNSPosix/mbedtls.c
===================================================================
--- mDNSResponder.orig/mDNSPosix/mbedtls.c
+++ mDNSResponder/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 {