# os: fix missing and incorrect msghdr definitions · gitcafe/zig

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

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

Visibility: public

Requested revision: a500651370b3ca60f0fe8fba67d0124f136f0ec0

Requested commit: a500651370b3ca60f0fe8fba67d0124f136f0ec0

Commit: a500651370b3ca60f0fe8fba67d0124f136f0ec0

Tree: ca92e85115e11842594a04856e51415d5f5be96c

Author: Nameless

Committer: Andrew Kelley

## Message

```
os: fix missing and incorrect msghdr definitions

Macos uses the BSD definition of msghdr

All linux architectures share a single msghdr definition. Many
architectures had manually inserted padding fields that were endian
specific and some had fields with different integers. This unifies all
architectures to use a single correct msghdr definition.

```

## Parents

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

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