From 619489da62ec996e325d7fd7ea37961650171888 Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Thu, 16 May 2019 09:30:02 +0200 Subject: [PATCH] LibC: Define a SOMAXCONN value in socket.h No idea if this is sensible; but some software will look for it. --- LibC/sys/socket.h | 1 + 1 file changed, 1 insertion(+) diff --git a/LibC/sys/socket.h b/LibC/sys/socket.h index ab25084a6bf..d4efad7ac26 100644 --- a/LibC/sys/socket.h +++ b/LibC/sys/socket.h @@ -47,6 +47,7 @@ struct sockaddr_in { }; #define SOL_SOCKET 1 +#define SOMAXCONN 128 #define SO_RCVTIMEO 1 #define SO_SNDTIMEO 2