# std.c: add IPPROTO_RAW for Darwin platforms · gitcafe/zig

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

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

Visibility: public

Requested revision: 5f950884a1390f135ea825b035b460ff680ebea3

Requested commit: 5f950884a1390f135ea825b035b460ff680ebea3

Commit: 5f950884a1390f135ea825b035b460ff680ebea3

Tree: 50ed93195bc6e262818d0cd4ae67160b063d07b0

Author: Lukas Lalinsky

Committer: Lukas Lalinsky

## Message

```
std.c: add IPPROTO_RAW for Darwin platforms

IPPROTO_RAW (255) was missing from the Darwin/macOS IPPROTO struct,
even though it is defined in system headers and supported by the platform.
This is a commonly used protocol for raw IP sockets.

```

## Parents

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

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