mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
mdns: Upgrade to 1310.140.1
Fix build with musl while here Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+41
@@ -0,0 +1,41 @@
|
||||
From ea442b57f7a9bcd41d5b5bd1cafde4dbe5685d41 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Thu, 4 Nov 2021 07:31:32 -0700
|
||||
Subject: [PATCH] dns-sd: Include missing headers
|
||||
|
||||
Fixes build on Musl
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
Clients/dns-sd.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
--- a/Clients/dns-sd.c
|
||||
+++ b/Clients/dns-sd.c
|
||||
@@ -58,11 +58,13 @@
|
||||
//#define TEST_NEW_CLIENTSTUB 1
|
||||
|
||||
#include <ctype.h>
|
||||
+#include <stdarg.h> // For va_args
|
||||
#include <stdio.h> // For stdout, stderr
|
||||
#include <stdlib.h> // For exit()
|
||||
#include <string.h> // For strlen(), strcpy()
|
||||
#include <errno.h> // For errno, EINTR
|
||||
#include <time.h>
|
||||
+#include <sys/param.h> // For MIN
|
||||
#include <sys/types.h> // For u_char
|
||||
#ifdef APPLE_OSX_mDNSResponder
|
||||
#include <inttypes.h> // For PRId64
|
||||
--- a/mDNSPosix/nss_mdns.c
|
||||
+++ b/mDNSPosix/nss_mdns.c
|
||||
@@ -89,6 +89,9 @@
|
||||
|
||||
#include <dns_sd.h>
|
||||
|
||||
+#if !defined(NETDB_INTERNAL)
|
||||
+# define NETDB_INTERNAL (-1)
|
||||
+#endif
|
||||
|
||||
//----------
|
||||
// Public functions
|
||||
Reference in New Issue
Block a user