packages/net/mdnsresponder/patches/010-uclibc.patch
Rosen Penev 16e5309750 mdnsresponder: Fix compilation with uClibc-ng
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-06-19 14:54:19 -07:00

13 lines
421 B
Diff

--- a/mDNSShared/PlatformCommon.c
+++ b/mDNSShared/PlatformCommon.c
@@ -43,6 +43,10 @@
typedef unsigned int socklen_t;
#endif
+#ifndef TCP_NOTSENT_LOWAT
+#define TCP_NOTSENT_LOWAT 25
+#endif
+
#if MDNS_MALLOC_DEBUGGING
// We ONLY want this for malloc debugging--on a running production system we want to deal with
// malloc failures, not just die. There is a small performance penalty for enabling these options