summaryrefslogtreecommitdiff
path: root/src/libstddjb/env_get.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/env_get.c')
-rw-r--r--src/libstddjb/env_get.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstddjb/env_get.c b/src/libstddjb/env_get.c
index f523f45..d809461 100644
--- a/src/libstddjb/env_get.c
+++ b/src/libstddjb/env_get.c
@@ -1,9 +1,9 @@
/* ISC license. */
-#include <skalibs/env.h>
+#include <stdlib.h>
#include <skalibs/posixplz.h>
char const *env_get (char const *s)
{
- return env_get2((char const **)environ, s) ;
+ return getenv(s) ;
}