aboutsummaryrefslogtreecommitdiffstats
path: root/main/mt-st/musl-path_max.patch
blob: 935abbc16dc2f623f9b8f8a076101d182e295771 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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>