about summary refs log tree commit diff
path: root/src/env/unsetenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/env/unsetenv.c')
-rw-r--r--src/env/unsetenv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/env/unsetenv.c b/src/env/unsetenv.c
index 8630e2d7..471219e8 100644
--- a/src/env/unsetenv.c
+++ b/src/env/unsetenv.c
@@ -1,10 +1,9 @@
 #include <stdlib.h>
 #include <string.h>
 #include <errno.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);