Diff between 8787aed7fe0089c079884784131e630ddacc6d26 and ca6546fe521360fcf905bc115b893f322e706cb2

Changed Files

File Additions Deletions Status
src/shared/util.c +5 -0 modified

Full Patch

diff --git a/src/shared/util.c b/src/shared/util.c
index 2f0ae0e..b466fb0 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -28,6 +28,11 @@
 #include <sys/random.h>
 #endif
 
+/* define MAX_INPUT for musl */
+#ifndef MAX_INPUT
+#define MAX_INPUT _POSIX_MAX_INPUT
+#endif
+
 #include "src/shared/util.h"
 
 void *util_malloc(size_t size)