summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2018-03-01 19:17:57 +0000
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-03-01 19:17:57 +0000
commit7bb52872a7823743fca5a988c9f6e129cb3c559e (patch)
treea4dce4ff2fdc8a2f09e4db2d5614dd80e73315d2
parent961cd0a13c850d592f570d20c0243a63dda8f3a5 (diff)
add missing include to quieten compiler
-rw-r--r--libc/stdlib/secure_getenv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/stdlib/secure_getenv.c b/libc/stdlib/secure_getenv.c
index 41cb622c8..c42bbdb0a 100644
--- a/libc/stdlib/secure_getenv.c
+++ b/libc/stdlib/secure_getenv.c
@@ -1,8 +1,7 @@
-
#include <stdlib.h>
+#include <unistd.h>
char *secure_getenv(const char *name) {
if (issetugid()) return NULL;
return getenv(name);
}
-