mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:47:34 +00:00
LibC: Add sa_family_t and in_port_t types
This commit is contained in:
parent
36c738d9bf
commit
c37dc4ae73
2 changed files with 10 additions and 5 deletions
|
@ -63,8 +63,10 @@ __BEGIN_DECLS
|
|||
|
||||
#define MSG_DONTWAIT 0x40
|
||||
|
||||
typedef uint16_t sa_family_t;
|
||||
|
||||
struct sockaddr {
|
||||
uint16_t sa_family;
|
||||
sa_family_t sa_family;
|
||||
char sa_data[14];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue