aboutsummaryrefslogtreecommitdiff
path: root/posix/environ.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/environ.c')
-rw-r--r--posix/environ.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/posix/environ.c b/posix/environ.c
index a0ed0d8..924effe 100644
--- a/posix/environ.c
+++ b/posix/environ.c
@@ -2,6 +2,7 @@
#include <unistd.h>
#include <stddef.h>
+#include <stdlib/setenv.h>
/* This must be initialized; we cannot have a weak alias into bss. */
char **__environ = NULL;
@@ -10,3 +11,6 @@ weak_alias (__environ, environ)
/* The SVR4 ABI says `_environ' will be the name to use
in case the user overrides the weak alias `environ'. */
weak_alias (__environ, _environ)
+
+struct environ_array *__environ_array_list;
+environ_counter __environ_counter;