# openbsd: correct few structs · gitcafe/zig

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

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

Visibility: public

Requested revision: 8bf5a3a5c1b5dd814d6a0fc47a4182ff5ecfe77d

Requested commit: 8bf5a3a5c1b5dd814d6a0fc47a4182ff5ecfe77d

Commit: 8bf5a3a5c1b5dd814d6a0fc47a4182ff5ecfe77d

Tree: c96c4540032e6b7553b64fe92d110489690cb6b8

Author: Sébastien Marie

Committer: Andrew Kelley

## Message

```
openbsd: correct few structs

- addrinfo: addr and canonname are switched (wrong layout)
- addrinfo, Flock, msghdr struct: use proper c_xxx type instead of fixed size. it should help using struct on all architectures supported by openbsd

```

## Parents

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

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