summaryrefslogtreecommitdiff
path: root/libgcompat/stdlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgcompat/stdlib.c')
-rw-r--r--libgcompat/stdlib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgcompat/stdlib.c b/libgcompat/stdlib.c
index a08f914..82f7602 100644
--- a/libgcompat/stdlib.c
+++ b/libgcompat/stdlib.c
@@ -5,6 +5,8 @@
#include <stdlib.h> /* getenv, realpath, strto* */
#include <unistd.h> /* get*id */
+#include "alias.h"
+
/**
* Resolve a pathname, with buffer overflow checking.
*
@@ -30,6 +32,7 @@ char *__secure_getenv(const char *name)
return getenv(name);
}
+weak_alias(__secure_getenv, secure_getenv);
/**
* Underlying function for strtod.