nscd: fall back gracefully on kernels without AF_UNIX support
[musl] / src / stat / stat.c
index 528870d..ea70efc 100644 (file)
@@ -6,4 +6,6 @@ int stat(const char *restrict path, struct stat *restrict buf)
        return fstatat(AT_FDCWD, path, buf, 0);
 }
 
+#if !_REDIR_TIME64
 weak_alias(stat, stat64);
+#endif