1
Fork 0
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:
Andreas Kling 2020-08-11 21:07:42 +02:00
parent 36c738d9bf
commit c37dc4ae73
2 changed files with 10 additions and 5 deletions

View file

@ -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];
};