diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-13 09:19:06 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-13 09:19:53 +0000 |
commit | 3818e78e2f50d122bb07aea84544b2c690e734f9 (patch) | |
tree | dc184a7914dc84a52ba6ad3e4e4837d75928c049 /main/mt-st/musl-path_max.patch | |
parent | 93a590816e0eb786a708547b6993197e0b9f11ca (diff) | |
download | aports-3818e78e2f50d122bb07aea84544b2c690e734f9.tar.bz2 aports-3818e78e2f50d122bb07aea84544b2c690e734f9.tar.xz |
main/mt-st: build fix for musl
Diffstat (limited to 'main/mt-st/musl-path_max.patch')
-rw-r--r-- | main/mt-st/musl-path_max.patch | 18 |
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 0000000000..935abbc16d --- /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> |