diff --git a/userspace/libraries/LibC/unistd.cpp b/userspace/libraries/LibC/unistd.cpp index fbc8ef0f..3598421e 100644 --- a/userspace/libraries/LibC/unistd.cpp +++ b/userspace/libraries/LibC/unistd.cpp @@ -16,7 +16,8 @@ #include #include -char** environ; +char** __environ; +extern char** environ __attribute__((weak, alias("__environ"))); extern void _init_malloc(); extern void _init_stdio();