Skip to content
Snippets Groups Projects
Commit 9798c432 authored by Avi Kivity's avatar Avi Kivity
Browse files

sys/socket.h: reconcile bsd and osv variants


Some structures are duplicated; deduplicate them.

A few are source-compatible but not binary-compatible; use the ones from
<bits/socket.h>.

Others are both source- and binary- compatible; put them in a new header
<sys/__socket.h> which is included from both.

Work around a problem with the byteorder functions/macros.

Signed-off-by: default avatarAvi Kivity <avi@cloudius-systems.com>
Tested-By: default avatarBenoit Canet <benoit@irqsave.net>
parent e990aa2a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment