summaryrefslogtreecommitdiffstats
path: root/main/mt-st/musl-path_max.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/mt-st/musl-path_max.patch')
-rw-r--r--main/mt-st/musl-path_max.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/main/mt-st/musl-path_max.patch b/main/mt-st/musl-path_max.patch
new file mode 100644
index 000000000..935abbc16
--- /dev/null
+++ b/main/mt-st/musl-path_max.patch
@@ -0,0 +1,18 @@
+--- ./stinit.c.orig
++++ ./stinit.c
+@@ -8,6 +8,7 @@
+ Last modified: Sun Apr 27 14:24:16 2008 by kai.makisara
+ */
+
++#define _GNU_SOURCE
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -16,6 +17,7 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <dirent.h>
++#include <limits.h>
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+ #include <sys/sysmacros.h>