0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-07 06:59:51 +00:00
packages/utils/bluez/patches/210-util-define-MAX_INPUT.patch
krant 65955c3b1e bluez: update to 5.72
- Use HTTPS for URL
- Don't set default configure option
- Refresh the patches

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-22 10:49:41 -08:00

13 lines
245 B
Diff

--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -24,6 +24,9 @@
#include <dirent.h>
#include <limits.h>
#include <string.h>
+#ifndef MAX_INPUT
+#define MAX_INPUT _POSIX_MAX_INPUT
+#endif
#ifdef HAVE_SYS_RANDOM_H
#include <sys/random.h>