diff options
Diffstat (limited to 'system/musl/amalgamation.patch')
-rw-r--r-- | system/musl/amalgamation.patch | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/system/musl/amalgamation.patch b/system/musl/amalgamation.patch index bd8e6a141..e53290e21 100644 --- a/system/musl/amalgamation.patch +++ b/system/musl/amalgamation.patch @@ -141,7 +141,7 @@ diff --git a/src/locale/setlocale.c b/src/locale/setlocale.c index 40bc7ece..4d51cdfe 100644 --- a/src/locale/setlocale.c +++ b/src/locale/setlocale.c -@@ -25,6 +25,8 @@ char *setlocale(int cat, const char *name) +@@ -11,6 +11,8 @@ char *setlocale(int cat, const char *name) if ((unsigned)cat > LC_ALL) return 0; @@ -386,19 +386,3 @@ index 76bbd4c7..d5e70608 100644 #include <unistd.h> #include <fcntl.h> #include <sys/wait.h> -diff --git a/include/fcntl.h b/include/fcntl.h -index 4d91338b..04321887 100644 ---- a/include/fcntl.h -+++ b/include/fcntl.h -@@ -36,8 +36,9 @@ int openat(int, const char *, int, ...); - int posix_fadvise(int, off_t, off_t, int); - int posix_fallocate(int, off_t, off_t); - --#define O_SEARCH O_PATH --#define O_EXEC O_PATH -+#define O_SEARCH O_PATH -+#define O_EXEC O_PATH -+#define O_TTY_INIT 0 - - #define O_ACCMODE (03|O_SEARCH) - #define O_RDONLY 00 |