Skip to content

Commit

Permalink
mdnsresponder: add missing header
Browse files Browse the repository at this point in the history
Fixes compilation with GCC14.

Signed-off-by: Rosen Penev <[email protected]>
  • Loading branch information
neheb committed Nov 15, 2024
1 parent 0b67c00 commit bd828e3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion net/mdnsresponder/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=mDNSResponder
PKG_VERSION:=2200.100.94.0.2
PKG_RELEASE:=1
PKG_RELEASE:=2

PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=$(PKG_NAME)-$(PKG_VERSION)
Expand Down
21 changes: 21 additions & 0 deletions net/mdnsresponder/patches/0015-Add-missing-limits.h.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
From 9fc45a2cf3b78573a568abf538a6e6f4bd30b2d7 Mon Sep 17 00:00:00 2001
From: Alex Kiernan <[email protected]>
Date: Wed, 27 Sep 2023 11:45:26 +0100
Subject: [PATCH] Add missing limits.h

Upstream-Status: Pending
Signed-off-by: Alex Kiernan <[email protected]>
---
mDNSShared/PlatformCommon.c | 1 +
1 file changed, 1 insertion(+)

--- a/mDNSShared/PlatformCommon.c
+++ b/mDNSShared/PlatformCommon.c
@@ -32,6 +32,7 @@
#include <time.h>
#include <sys/time.h> // Needed for #include <sys/time.h>().
#include <assert.h>
+#include <limits.h>


#include "mDNSEmbeddedAPI.h" // Defines the interface provided to the client layer above

0 comments on commit bd828e3

Please sign in to comment.