about summary refs log tree commit diff
path: root/src/env/putenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/env/putenv.c')
-rw-r--r--src/env/putenv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/env/putenv.c b/src/env/putenv.c
index fa4a4ddc..20f96022 100644
--- a/src/env/putenv.c
+++ b/src/env/putenv.c
@@ -1,9 +1,8 @@
 #include <stdlib.h>
 #include <string.h>
+#include <unistd.h>
 #include "libc.h"
 
-char *__strchrnul(const char *, int);
-
 static void dummy(char *old, char *new) {}
 weak_alias(dummy, __env_rm_add);