# std.os.linux: Define the Stat struct for riscv32\. · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/537cb49eb241521bf58df8510c1c86aea60eb84f)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 537cb49eb241521bf58df8510c1c86aea60eb84f

Requested commit: 537cb49eb241521bf58df8510c1c86aea60eb84f

Commit: 537cb49eb241521bf58df8510c1c86aea60eb84f

Tree: db817a32b0f86e5e123ccf449a4fd1bbd15e19da

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
std.os.linux: Define the Stat struct for riscv32.

The kernel does define the struct, it just doesn't use it. Yet both glibc and
musl expose it directly as their public stat struct, and std.c takes it from
std.os.linux. So just define it after all.

```

## Parents

- [e084c46ed6906dc51724d99b29f0992272384f5a](https://git.cafe/gitcafe/zig/commit/e084c46ed6906dc51724d99b29f0992272384f5a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/537cb49eb241521bf58df8510c1c86aea60eb84f?format=markdown)
