make __socketcall analogous to __syscall, error-returning
[oweals/musl.git] / src / env / unsetenv.c
index 8630e2d760fe5d8aa1d7af0993f68ae6c137e7f1..b14c4c929b1f18033e68a480d4500856f33bdaa5 100644 (file)
@@ -1,9 +1,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <errno.h>
-#include "libc.h"
-
-char *__strchrnul(const char *, int);
+#include <unistd.h>
 
 static void dummy(char *old, char *new) {}
 weak_alias(dummy, __env_rm_add);