add portable lchown (trivial to support and a few ancient things want it..)
[musl] / include / sys / stat.h
index 627890f..25c199f 100644 (file)
@@ -86,6 +86,9 @@ int mkdirat(int, const char *, mode_t);
 int mknodat(int, const char *, mode_t, dev_t);
 int mkfifoat(int, const char *, mode_t);
 
+#ifdef _BSD_SOURCE
+int lchmod(const char *, mode_t);
+#endif
 
 #ifdef __cplusplus
 }