diff options
-rw-r--r-- | libc/debian/patches/localeimpl-getenv.patch | 12 | ||||
-rw-r--r-- | libc/debian/patches/series | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/libc/debian/patches/localeimpl-getenv.patch b/libc/debian/patches/localeimpl-getenv.patch new file mode 100644 index 0000000..3ec18d9 --- /dev/null +++ b/libc/debian/patches/localeimpl-getenv.patch @@ -0,0 +1,12 @@ +Index: libc/usr/src/lib/libc/port/locale/localeimpl.c +=================================================================== +--- libc.orig/usr/src/lib/libc/port/locale/localeimpl.c ++++ libc/usr/src/lib/libc/port/locale/localeimpl.c +@@ -22,6 +22,7 @@ + #endif + + #include "lint.h" ++#include <stdlib.h> + #include <atomic.h> + #include <locale.h> + #include <sys/types.h> diff --git a/libc/debian/patches/series b/libc/debian/patches/series index 1a68de2..63168f2 100644 --- a/libc/debian/patches/series +++ b/libc/debian/patches/series @@ -127,3 +127,4 @@ struct-tm.patch libc-no-gets.patch libc-fp_data-__huge_val.patch libnsl-netname.patch +localeimpl-getenv.patch |