1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:58:11 +00:00

LibC: Minor socket-related compat fixes.

This commit is contained in:
Andreas Kling 2019-03-14 13:03:32 +01:00
parent edb986c276
commit 68f3771e4f
3 changed files with 11 additions and 4 deletions

View file

@ -32,7 +32,10 @@ typedef uint32_t time_t;
typedef uint32_t useconds_t;
typedef int32_t suseconds_t;
typedef uint32_t clock_t;
typedef uint32_t socklen_t;
#define __socklen_t_defined
#define __socklen_t uint32_t
typedef __socklen_t socklen_t;
struct timeval {
time_t tv_sec;