From 79a77cd86244692d7aeaa03bb42d09a7ad99639c Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Fri, 18 Jan 2019 15:23:53 +0000 Subject: [PATCH] add SO_BROADCAST --- libctru/include/sys/socket.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libctru/include/sys/socket.h b/libctru/include/sys/socket.h index f117153..8f6d78e 100644 --- a/libctru/include/sys/socket.h +++ b/libctru/include/sys/socket.h @@ -42,6 +42,8 @@ #define SO_TYPE 0x1008 // get socket type #define SO_ERROR 0x1009 // get socket error +#define SO_BROADCAST 0x0000 // unrequired, included for compatibility + typedef uint32_t socklen_t; typedef uint16_t sa_family_t;