diff --git a/libctru/include/sys/socket.h b/libctru/include/sys/socket.h index 8f6d78ed4..edee7db43 100644 --- a/libctru/include/sys/socket.h +++ b/libctru/include/sys/socket.h @@ -44,6 +44,8 @@ #define SO_BROADCAST 0x0000 // unrequired, included for compatibility +#define _SOCKLEN_T_DECLARED + typedef uint32_t socklen_t; typedef uint16_t sa_family_t;