summaryrefslogtreecommitdiff
path: root/libc/debian/patches/localeimpl-getenv.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libc/debian/patches/localeimpl-getenv.patch')
-rw-r--r--libc/debian/patches/localeimpl-getenv.patch12
1 files changed, 12 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>